summaryrefslogtreecommitdiff
path: root/src/mkfifo.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-12-02 18:55:36 +0000
committerJim Meyering <jim@meyering.net>1992-12-02 18:55:36 +0000
commit57e56eb7ecaf708b248af8faebd972a0ce6f03c1 (patch)
treec3f0b50cb23033a9f68ae740fc6b41549eb46cc7 /src/mkfifo.c
parentf6ae65319a4e34bb6aebdc8dd4b12e9df136d690 (diff)
downloadcoreutils-57e56eb7ecaf708b248af8faebd972a0ce6f03c1.tar.xz
Convert static declarations of struct option to use new macros from
getopt.h: no_argument, required_argument, and optional_argument.
Diffstat (limited to 'src/mkfifo.c')
-rw-r--r--src/mkfifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mkfifo.c b/src/mkfifo.c
index b2bc15247..075cece51 100644
--- a/src/mkfifo.c
+++ b/src/mkfifo.c
@@ -37,7 +37,7 @@ char *program_name;
static struct option const longopts[] =
{
- {"mode", 1, NULL, 'm'},
+ {"mode", required_argument, NULL, 'm'},
{NULL, 0, NULL, 0}
};