summaryrefslogtreecommitdiff
path: root/src/mknod.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-08 15:08:30 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:50:08 +0100
commita517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4 (patch)
tree20ad6e7d6aa0baed16f884fca2bccff4dda4983d /src/mknod.c
parent9af0dced5a2eb167ec7b9dfe3f358f214e45d41a (diff)
downloadcoreutils-a517386f1bf8c64ee7617cc2c9d0a16a1d85c8c4.tar.xz
maint: src/*.c: change remaining quotes (without embedded spaces)
Run this (twice): git grep -E -l '`[^ ]+'\' src/*.c \ |xargs perl -pi -e 's/`([^ ]+'\'')/'\''$1/'
Diffstat (limited to 'src/mknod.c')
-rw-r--r--src/mknod.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mknod.c b/src/mknod.c
index dd98b420b..eb7ef77be 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -28,7 +28,7 @@
#include "quote.h"
#include "xstrtol.h"
-/* The official name of this program (e.g., no `g' prefix). */
+/* The official name of this program (e.g., no 'g' prefix). */
#define PROGRAM_NAME "mknod"
#define AUTHORS proper_name ("David MacKenzie")
@@ -134,7 +134,7 @@ main (int argc, char **argv)
}
/* If the number of arguments is 0 or 1,
- or (if it's 2 or more and the second one starts with `p'), then there
+ or (if it's 2 or more and the second one starts with 'p'), then there
must be exactly two operands. Otherwise, there must be four. */
expected_operands = (argc <= optind
|| (optind + 1 < argc && argv[optind + 1][0] == 'p')
@@ -172,7 +172,7 @@ main (int argc, char **argv)
switch (argv[optind + 1][0])
{
- case 'b': /* `block' or `buffered' */
+ case 'b': /* 'block' or 'buffered' */
#ifndef S_IFBLK
error (EXIT_FAILURE, 0, _("block special files not supported"));
#else
@@ -180,8 +180,8 @@ main (int argc, char **argv)
#endif
goto block_or_character;
- case 'c': /* `character' */
- case 'u': /* `unbuffered' */
+ case 'c': /* 'character' */
+ case 'u': /* 'unbuffered' */
#ifndef S_IFCHR
error (EXIT_FAILURE, 0, _("character special files not supported"));
#else
@@ -217,7 +217,7 @@ main (int argc, char **argv)
}
break;
- case 'p': /* `pipe' */
+ case 'p': /* 'pipe' */
if (mkfifo (argv[optind], newmode) != 0)
error (EXIT_FAILURE, errno, "%s", quote (argv[optind]));
break;