]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
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 f574c3310d79589ccf916fe43618b0da6fa48a4d..886ce7bbd84611d147ced4ec9036e3723461d7bc 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;
        }
     }