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 | bb5618fe389d51e9e68f7f91c2890d5ab6826703 (patch) | |
tree | 57e74f7a4cfdca447e4c447795ca96069a8bdf16 /lib-src | |
parent | 9d6baf7cbd4a430dc1839da7713f535d9a4c1aa6 (diff) | |
download | emacs-bb5618fe389d51e9e68f7f91c2890d5ab6826703.tar.gz |
(main): Fix having macros in a printf statement.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/emacsclient.c | 8 | ||||
-rw-r--r-- | lib-src/movemail.c | 7 |
2 files changed, 7 insertions, 8 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); } diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 00157f991ae..89714a07423 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -228,13 +228,12 @@ main (argc, argv) #endif ) { - fprintf (stderr, "Usage: movemail [-p] inbox destfile%s\n", #ifdef MAIL_USE_POP - " [POP-password]" + fprintf (stderr, "Usage: movemail [-p] inbox destfile%s\n", + " [POP-password]"); #else - "" + fprintf (stderr, "Usage: movemail [-p] inbox destfile%s\n", ""); #endif - ); exit (1); } |