Convert "`%s'" in format strings to "%s", and wrap each
authorJim Meyering <jim@meyering.net>
Sun, 30 Jul 2000 16:29:15 +0000 (16:29 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 30 Jul 2000 16:29:15 +0000 (16:29 +0000)
corresponding argument in a `quote (...)' call.

src/mkfifo.c

index f574c33..886ce7b 100644 (file)
@@ -30,6 +30,7 @@
 #include "system.h"
 #include "error.h"
 #include "modechange.h"
+#include "quote.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
 #define PROGRAM_NAME "mkfifo"
@@ -129,7 +130,7 @@ main (int argc, char **argv)
     {
       if (mkfifo (argv[optind], newmode))
        {
-         error (0, errno, _("cannot make fifo `%s'"), argv[optind]);
+         error (0, errno, _("cannot make fifo %s"), quote (argv[optind]));
          errors = 1;
        }
     }