From 009b55edc4bad5b46ace88f3c255bbff8671d137 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 26 Aug 2018 14:16:49 -0500 Subject: Convert more commands to the new option/GLOBALS code style. --- toys/posix/mkfifo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toys/posix/mkfifo.c') 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)) -- cgit v1.2.3