From 8c4025e7082b2440bda844089e1aa2a3504ed6d7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 3 Jul 2002 05:32:02 +0000 Subject: [PATCH] Patch from Danny Lepage to fix dutmp for uClibc. --- miscutils/dutmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.25.1