projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some corrections, some additions, some embellishments.
[oweals/busybox.git]
/
mknod.c
diff --git
a/mknod.c
b/mknod.c
index ecb0e4780643f33511e6a8aed13de3bef82e865a..022ab8571421c99ead06d61921d2996ab50825fd 100644
(file)
--- a/
mknod.c
+++ b/
mknod.c
@@
-84,7
+84,7
@@
int mknod_main(int argc, char **argv)
mode |= perm;
if (mknod(argv[0], mode, dev) != 0)
-
fatalError
("%s: %s\n", argv[0], strerror(errno));
- return
(TRUE)
;
+
error_msg_and_die
("%s: %s\n", argv[0], strerror(errno));
+ return
EXIT_SUCCESS
;
}