qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs shell.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs shell.c
Date: Sun, 20 Apr 2008 11:56:25 +0000

CVSROOT:        /cvsroot/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        08/04/20 11:56:25

Modified files:
        .              : shell.c 

Log message:
        do not use %m, use strerror

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/shell.c?cvsroot=qemacs&r1=1.60&r2=1.61

Patches:
Index: shell.c
===================================================================
RCS file: /cvsroot/qemacs/qemacs/shell.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -b -r1.60 -r1.61
--- shell.c     15 Apr 2008 23:24:03 -0000      1.60
+++ shell.c     20 Apr 2008 11:56:25 -0000      1.61
@@ -148,7 +148,8 @@
 
     pty_fd = get_pty(tty_name, sizeof(tty_name));
     if (pty_fd < 0) {
-        put_status(NULL, "run_process: cannot get tty: %m");
+        put_status(NULL, "run_process: cannot get tty: %s",
+                   strerror(errno));
         return -1;
     }
     fcntl(pty_fd, F_SETFL, O_NONBLOCK);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]