[vte/vte-next: 109/114] Correct error message
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next: 109/114] Correct error message
- Date: Mon, 30 May 2011 17:15:54 +0000 (UTC)
commit 4de7d85eb98d70a7729a4187c4d00c2fd87eed96
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 a677a95..61d87cc 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]