From 8636b9323e7347c37f0397755e650209d2b29d93 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 24 May 2001 06:08:33 +0000 Subject: (main): Remove quotes around %s. The argument is already quoted via the quote function. --- src/mkfifo.c | 6 +++--- src/mknod.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mkfifo.c b/src/mkfifo.c index b5ce392aa..341be8a51 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -1,5 +1,5 @@ /* mkfifo -- make fifo's (named pipes) - Copyright (C) 90, 91, 1995-2000 Free Software Foundation, Inc. + Copyright (C) 90, 91, 1995-2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -125,7 +125,7 @@ main (int argc, char **argv) { int fail = mkfifo (argv[optind], newmode); if (fail) - error (0, errno, _("cannot create fifo `%s'"), quote (argv[optind])); + error (0, errno, _("cannot create fifo %s"), quote (argv[optind])); /* If the containing directory happens to have a default ACL, chmod ensures the file mode permission bits are still set as desired. */ @@ -134,7 +134,7 @@ main (int argc, char **argv) { fail = chmod (argv[optind], newmode); if (fail) - error (0, errno, _("cannot set permissions of fifo `%s'"), + error (0, errno, _("cannot set permissions of fifo %s"), quote (argv[optind])); } diff --git a/src/mknod.c b/src/mknod.c index a67a74283..6f73b0e56 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -222,7 +222,7 @@ major and minor device numbers may not be specified for fifo files")); if (specified_mode) { if (chmod (argv[optind], newmode)) - error (0, errno, _("cannot set permissions of `%s'"), + error (0, errno, _("cannot set permissions of %s"), quote (argv[optind])); } -- cgit v1.2.3-70-g09d2