(main): Remove quotes around %s.
authorJim Meyering <jim@meyering.net>
Thu, 24 May 2001 06:08:33 +0000 (06:08 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 24 May 2001 06:08:33 +0000 (06:08 +0000)
The argument is already quoted via the quote function.

src/mkfifo.c
src/mknod.c

index b5ce392..341be8a 100644 (file)
@@ -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]));
        }
 
index a67a742..6f73b0e 100644 (file)
@@ -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]));
     }