[vte/vte-next: 110/223] Correct error message
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next: 110/223] Correct error message
- Date: Wed, 22 Jun 2011 20:57:51 +0000 (UTC)
commit 5a830fd0bcace7a1e23ef763f0c6d78998c94699
Author: Christian Persch <chpe gnome org>
Date: Sat May 28 21:53:41 2011 +0200
Correct error message
src/vteapp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/vteapp.c b/src/vteapp.c
index 39de2b6..3e71b9f 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -1142,11 +1142,11 @@ main(int argc, char **argv)
pid = fork();
switch (pid) {
case -1:
- g_object_unref(pty);
/* abnormal */
- g_warning("Error in vte_terminal_forkpty(): %s",
+ g_warning("Error forking: %s",
g_strerror(errno));
- break;
+ g_object_unref(pty);
+ break;
case 0:
/* child */
vte_pty_child_setup(pty);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]