projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d396d7
)
(main): Adjust to new mode_adjust API.
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 17 Jul 2006 03:11:01 +0000
(
03:11
+0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 17 Jul 2006 03:11:01 +0000
(
03:11
+0000)
src/mknod.c
patch
|
blob
|
history
diff --git
a/src/mknod.c
b/src/mknod.c
index
6842565
..
0bda220
100644
(file)
--- 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,