aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
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
parent9d6baf7cbd4a430dc1839da7713f535d9a4c1aa6 (diff)
downloademacs-bb5618fe389d51e9e68f7f91c2890d5ab6826703.tar.gz
emacs-bb5618fe389d51e9e68f7f91c2890d5ab6826703.zip
(main): Fix having macros in a printf statement.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c8
-rw-r--r--lib-src/movemail.c7
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",
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
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)
228#endif 228#endif
229 ) 229 )
230 { 230 {
231 fprintf (stderr, "Usage: movemail [-p] inbox destfile%s\n",
232#ifdef MAIL_USE_POP 231#ifdef MAIL_USE_POP
233 " [POP-password]" 232 fprintf (stderr, "Usage: movemail [-p] inbox destfile%s\n",
233 " [POP-password]");
234#else 234#else
235 "" 235 fprintf (stderr, "Usage: movemail [-p] inbox destfile%s\n", "");
236#endif 236#endif
237 );
238 exit (1); 237 exit (1);
239 } 238 }
240 239