[vte] vteapp: Correct error message
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] vteapp: Correct error message
- Date: Sun, 6 Apr 2014 13:37:57 +0000 (UTC)
commit 8ae1daa342662a16fb695bc6c05122b53da2fcdb
Author: Christian Persch <chpe gnome org>
Date: Sat May 28 21:53:41 2011 +0200
vteapp: 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 5d9e805..512ee3a 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -1159,11 +1159,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]