Ha. Regression testing found a bug with uClibc support. Fixed.

-Erik
This commit is contained in:
Eric Andersen committed 2001-04-10 19:03:03 +00:00
1 parent b9af894264
commit e703f7ed42
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -42,7 +42,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
#if __GNU_LIBRARY__ < 5 || defined __UCLIBC__
/* Linux libc5 */
while (read(file, (void*)&ut, sizeof(struct utmp))) {
printf("%d|%d|%s|%s|%s|%s|%s|%lx\n",
+1 -1
View File
@@ -42,7 +42,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
#if __GNU_LIBRARY__ < 5 || defined __UCLIBC__
/* Linux libc5 */
while (read(file, (void*)&ut, sizeof(struct utmp))) {
printf("%d|%d|%s|%s|%s|%s|%s|%lx\n",