diff options
author | Rob Landley <rob@landley.net> | 2018-08-26 14:16:49 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-08-26 14:16:49 -0500 |
commit | 009b55edc4bad5b46ace88f3c255bbff8671d137 (patch) | |
tree | f4f856ef871104e37a5d123aa3ec3d01246c9e10 /toys/posix/mkfifo.c | |
parent | 1aaef2d2b72800a5c6bedae04941304ce8e153be (diff) | |
download | toybox-009b55edc4bad5b46ace88f3c255bbff8671d137.tar.gz |
Convert more commands to the new option/GLOBALS code style.
Diffstat (limited to 'toys/posix/mkfifo.c')
-rw-r--r-- | toys/posix/mkfifo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/posix/mkfifo.c b/toys/posix/mkfifo.c index 942dfdc5..8639ebd8 100644 --- a/toys/posix/mkfifo.c +++ b/toys/posix/mkfifo.c @@ -28,7 +28,7 @@ config MKFIFO_Z #include "toys.h" GLOBALS( - char *m_string; + char *m; char *Z; mode_t mode; @@ -39,7 +39,7 @@ void mkfifo_main(void) char **s; TT.mode = 0666; - if (toys.optflags & FLAG_m) TT.mode = string_to_mode(TT.m_string, 0); + if (toys.optflags & FLAG_m) TT.mode = string_to_mode(TT.m, 0); if (CFG_MKFIFO_Z && (toys.optflags&FLAG_Z)) if (0>lsm_set_create(TT.Z)) |