aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-03 05:32:02 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-03 05:32:02 +0000
commit8c4025e7082b2440bda844089e1aa2a3504ed6d7 (patch)
treece49f1a393a2f96f4ecedb1ccfc7e6eaff607fa1 /miscutils
parent5222d31a15bce9d86b2d2781f75006f18df22865 (diff)
downloadbusybox-8c4025e7082b2440bda844089e1aa2a3504ed6d7.tar.gz
Patch from Danny Lepage <danny.lepage@cognicase.com> to fix
dutmp for uClibc.
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/dutmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/dutmp.c b/miscutils/dutmp.c
index cce260ca4..cec5629c8 100644
--- 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",