projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5222d31
)
Patch from Danny Lepage <danny.lepage@cognicase.com> to fix
author
Eric Andersen
<andersen@codepoet.org>
Wed, 3 Jul 2002 05:32:02 +0000
(
05:32
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 3 Jul 2002 05:32:02 +0000
(
05:32
-0000)
dutmp for uClibc.
miscutils/dutmp.c
patch
|
blob
|
history
diff --git
a/miscutils/dutmp.c
b/miscutils/dutmp.c
index cce260ca4955ead13c3f0c6e3897c8dbc43e3fba..cec5629c81d32799b34f272ef533baabdeda8178 100644
(file)
--- a/
miscutils/dutmp.c
+++ b/
miscutils/dutmp.c
@@
-39,7
+39,7
@@
extern int dutmp_main(int argc, char **argv)
}
/* 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",