projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for tar -z option for uncompressing only
[oweals/busybox.git]
/
mkfifo.c
diff --git
a/mkfifo.c
b/mkfifo.c
index 3db17bbbcf323c9ad1eeabd564c888b2af6f36f0..ef4a5256f4ec0327469160ea58eb128c732d7771 100644
(file)
--- a/
mkfifo.c
+++ b/
mkfifo.c
@@
-20,10
+20,9
@@
*
*/
*
*/
-#include "
internal
.h"
+#include "
busybox
.h"
#include <stdio.h>
#include <sys/types.h>
#include <stdio.h>
#include <sys/types.h>
-#include <sys/stat.h>
#include <errno.h>
extern int mkfifo_main(int argc, char **argv)
#include <errno.h>
extern int mkfifo_main(int argc, char **argv)
@@
-56,7
+55,7
@@
extern int mkfifo_main(int argc, char **argv)
usage(mkfifo_usage);
if (mkfifo(*argv, mode) < 0) {
perror("mkfifo");
usage(mkfifo_usage);
if (mkfifo(*argv, mode) < 0) {
perror("mkfifo");
-
exit(255)
;
+
return EXIT_FAILURE
;
}
}
- return
(TRUE)
;
+ return
EXIT_SUCCESS
;
}
}