Patch from Danny Lepage <danny.lepage@cognicase.com> to fix
authorEric Andersen <andersen@codepoet.org>
Wed, 3 Jul 2002 05:32:02 +0000 (05:32 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 3 Jul 2002 05:32:02 +0000 (05:32 -0000)
dutmp for uClibc.

miscutils/dutmp.c

index cce260ca4955ead13c3f0c6e3897c8dbc43e3fba..cec5629c81d32799b34f272ef533baabdeda8178 100644 (file)
@@ -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",