diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2003-07-28 22:10:30 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2003-07-28 22:10:30 +0000 |
commit | b5fcc390cebb3717f2fb791eb3ad86d941330565 (patch) | |
tree | d5b962bc6cdb0d813b856743f16d45e1409ebda1 /lib-src/emacsclient.c | |
parent | 8fffc243460e2fd2a2cbca7127bacc653adaa44c (diff) | |
download | emacs-b5fcc390cebb3717f2fb791eb3ad86d941330565.tar.gz |
(main): Fix having macros in a printf statement.
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r-- | lib-src/emacsclient.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 180a79768d3..fc85ba67448 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -438,13 +438,13 @@ To start the server in Emacs, type \"M-x server-start\".\n", if (cwd == 0) { /* getwd puts message in STRING if it fails. */ - fprintf (stderr, "%s: %s (%s)\n", argv[0], + #ifdef HAVE_GETCWD - "Cannot get current working directory", + fprintf (stderr, "%s: %s (%s)\n", argv[0], + "Cannot get current working directory", strerror (errno)); #else - string, + fprintf (stderr, "%s: %s (%s)\n", argv[0], string, strerror (errno)); #endif - strerror (errno)); fail (argc, argv); } |