projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add errno.h
[oweals/busybox.git]
/
dutmp.c
diff --git
a/dutmp.c
b/dutmp.c
index cf5f1cff802871be7a0710cf8be14f6534f39b23..efd15dfbfb2c18a1e0d455184256a4fc64b0e6ea 100644
(file)
--- a/
dutmp.c
+++ b/
dutmp.c
@@
-35,7
+35,7
@@
extern int dutmp_main(int argc, char **argv)
} else {
file = open(argv[1], O_RDONLY);
if (file < 0) {
-
fatalError
(io_error, argv[1], strerror(errno));
+
error_msg_and_die
(io_error, argv[1], strerror(errno));
}
}
@@
-62,5
+62,5
@@
extern int dutmp_main(int argc, char **argv)
ut.ut_addr);
}
#endif
- return
(TRUE)
;
+ return
EXIT_SUCCESS
;
}