projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dont use the -i option of xargs
[oweals/busybox.git]
/
miscutils
/
dutmp.c
diff --git
a/miscutils/dutmp.c
b/miscutils/dutmp.c
index cce260ca4955ead13c3f0c6e3897c8dbc43e3fba..19e09fbb0a178dbb5c79988b2449a828acf54a58 100644
(file)
--- a/
miscutils/dutmp.c
+++ b/
miscutils/dutmp.c
@@
-34,12
+34,12
@@
extern int dutmp_main(int argc, char **argv)
} else {
file = open(argv[1], O_RDONLY);
if (file < 0) {
} else {
file = open(argv[1], O_RDONLY);
if (file < 0) {
-
p
error_msg_and_die(io_error, argv[1]);
+ error_msg_and_die(io_error, argv[1]);
}
}
/* Kludge around the fact that the binary format for utmp has changed. */
}
}
/* Kludge around the fact that the binary format for utmp has changed. */
-#if __GNU_LIBRARY__ < 5
|| defined __UCLIBC__
+#if __GNU_LIBRARY__ < 5
/* Linux libc5 */
while (read(file, (void*)&ut, sizeof(struct utmp))) {
printf("%d|%d|%s|%s|%s|%s|%s|%lx\n",
/* Linux libc5 */
while (read(file, (void*)&ut, sizeof(struct utmp))) {
printf("%d|%d|%s|%s|%s|%s|%s|%lx\n",