summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-17 03:11:01 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-17 03:11:01 +0000
commit577faf65e368a63ecadf7ef6fafb757040d938b1 (patch)
tree968d86421a7db2e7e1f749e5f6a6d238ea72445f /src
parent1d396d70087aa8a001e0ae218f6ef29c7b1c4c20 (diff)
downloadcoreutils-577faf65e368a63ecadf7ef6fafb757040d938b1.tar.xz
(main): Adjust to new mode_adjust API.
Diffstat (limited to 'src')
-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,