summaryrefslogtreecommitdiff
path: root/src/mkfifo.c
diff options
context:
space:
mode:
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 ed6736064..ae2ee326f 100644
--- a/src/mkfifo.c
+++ b/src/mkfifo.c
@@ -120,7 +120,7 @@ main (int argc, char **argv)
newmode &= ~ umask (0);
change = mode_compile (specified_mode, 0);
if (change == MODE_INVALID)
- error (1, 0, _("invalid mode"));
+ error (EXIT_FAILURE, 0, _("invalid mode"));
else if (change == MODE_MEMORY_EXHAUSTED)
xalloc_die ();
newmode = mode_adjust (newmode, change);