diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-30 16:29:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-30 16:29:15 +0000 |
commit | 7373e3149dc8037c382a85cc48167966d9ed5813 (patch) | |
tree | 8c2e7c8cacaf4cf3809b9128b9c232e252ad5518 | |
parent | 608cabf1d45bb6b71f07c95041a3121aead36a8b (diff) | |
download | coreutils-7373e3149dc8037c382a85cc48167966d9ed5813.tar.xz |
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
-rw-r--r-- | src/mkfifo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mkfifo.c b/src/mkfifo.c index f574c3310..886ce7bbd 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -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; } } |