summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mknod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mknod.c b/src/mknod.c
index 684256574..0bda22073 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -121,7 +121,7 @@ main (int argc, char **argv)
struct mode_change *change = mode_compile (specified_mode);
if (!change)
error (EXIT_FAILURE, 0, _("invalid mode"));
- newmode = mode_adjust (newmode, change, umask (0));
+ newmode = mode_adjust (newmode, false, umask (0), change, NULL);
free (change);
if (newmode & ~S_IRWXUGO)
error (EXIT_FAILURE, 0,