aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/emacsclient.c
diff options
context:
space:
mode:
authorJuanma Barranquero2003-07-28 22:10:30 +0000
committerJuanma Barranquero2003-07-28 22:10:30 +0000
commitbb5618fe389d51e9e68f7f91c2890d5ab6826703 (patch)
tree57e74f7a4cfdca447e4c447795ca96069a8bdf16 /lib-src/emacsclient.c
parent9d6baf7cbd4a430dc1839da7713f535d9a4c1aa6 (diff)
downloademacs-bb5618fe389d51e9e68f7f91c2890d5ab6826703.tar.gz
emacs-bb5618fe389d51e9e68f7f91c2890d5ab6826703.zip
(main): Fix having macros in a printf statement.
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r--lib-src/emacsclient.c8
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",
438 if (cwd == 0) 438 if (cwd == 0)
439 { 439 {
440 /* getwd puts message in STRING if it fails. */ 440 /* getwd puts message in STRING if it fails. */
441 fprintf (stderr, "%s: %s (%s)\n", argv[0], 441
442#ifdef HAVE_GETCWD 442#ifdef HAVE_GETCWD
443 "Cannot get current working directory", 443 fprintf (stderr, "%s: %s (%s)\n", argv[0],
444 "Cannot get current working directory", strerror (errno));
444#else 445#else
445 string, 446 fprintf (stderr, "%s: %s (%s)\n", argv[0], string, strerror (errno));
446#endif 447#endif
447 strerror (errno));
448 fail (argc, argv); 448 fail (argc, argv);
449 } 449 }
450 450