aboutsummaryrefslogtreecommitdiff
path: root/coreutils/mkfifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/mkfifo.c')
-rw-r--r--coreutils/mkfifo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/mkfifo.c b/coreutils/mkfifo.c
index b31e6f172..56a04f772 100644
--- a/coreutils/mkfifo.c
+++ b/coreutils/mkfifo.c
@@ -37,7 +37,7 @@ extern int mkfifo_main(int argc, char **argv)
37 /* Parse any options */ 37 /* Parse any options */
38 while (argc > 1) { 38 while (argc > 1) {
39 if (**argv != '-') 39 if (**argv != '-')
40 usage(mkfifo_usage); 40 show_usage();
41 thisarg = *argv; 41 thisarg = *argv;
42 thisarg++; 42 thisarg++;
43 switch (*thisarg) { 43 switch (*thisarg) {
@@ -47,13 +47,13 @@ extern int mkfifo_main(int argc, char **argv)
47 parse_mode(*argv, &mode); 47 parse_mode(*argv, &mode);
48 break; 48 break;
49 default: 49 default:
50 usage(mkfifo_usage); 50 show_usage();
51 } 51 }
52 argc--; 52 argc--;
53 argv++; 53 argv++;
54 } 54 }
55 if (argc < 1 || *argv[0] == '-') 55 if (argc < 1 || *argv[0] == '-')
56 usage(mkfifo_usage); 56 show_usage();
57 if (mkfifo(*argv, mode) < 0) 57 if (mkfifo(*argv, mode) < 0)
58 perror_msg_and_die("mkfifo"); 58 perror_msg_and_die("mkfifo");
59 return EXIT_SUCCESS; 59 return EXIT_SUCCESS;