summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-24 06:08:33 +0000
committerJim Meyering <jim@meyering.net>2001-05-24 06:08:33 +0000
commit8636b9323e7347c37f0397755e650209d2b29d93 (patch)
treee74117a56ce69b4495ea59bc049116ba9a748221 /src
parent574916aa9f228af1a4ac71c0b1932132cc842dfb (diff)
downloadcoreutils-8636b9323e7347c37f0397755e650209d2b29d93.tar.xz
(main): Remove quotes around %s.
The argument is already quoted via the quote function.
Diffstat (limited to 'src')
-rw-r--r--src/mkfifo.c6
-rw-r--r--src/mknod.c2
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]));
}