Commit bb5618fe authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(main): Fix having macros in a printf statement.

parent 9d6baf7c
...@@ -438,13 +438,13 @@ To start the server in Emacs, type \"M-x server-start\".\n", ...@@ -438,13 +438,13 @@ To start the server in Emacs, type \"M-x server-start\".\n",
if (cwd == 0) if (cwd == 0)
{ {
/* getwd puts message in STRING if it fails. */ /* getwd puts message in STRING if it fails. */
fprintf (stderr, "%s: %s (%s)\n", argv[0],
#ifdef HAVE_GETCWD #ifdef HAVE_GETCWD
"Cannot get current working directory", fprintf (stderr, "%s: %s (%s)\n", argv[0],
"Cannot get current working directory", strerror (errno));
#else #else
string, fprintf (stderr, "%s: %s (%s)\n", argv[0], string, strerror (errno));
#endif #endif
strerror (errno));
fail (argc, argv); fail (argc, argv);
} }
......
...@@ -228,13 +228,12 @@ main (argc, argv) ...@@ -228,13 +228,12 @@ main (argc, argv)
#endif #endif
) )
{ {
fprintf (stderr, "Usage: movemail [-p] inbox destfile%s\n",
#ifdef MAIL_USE_POP #ifdef MAIL_USE_POP
" [POP-password]" fprintf (stderr, "Usage: movemail [-p] inbox destfile%s\n",
" [POP-password]");
#else #else
"" fprintf (stderr, "Usage: movemail [-p] inbox destfile%s\n", "");
#endif #endif
);
exit (1); exit (1);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment