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

-Erik
This commit is contained in:
Eric Andersen 2001-04-10 19:03:03 +00:00
parent b9af894264
commit e703f7ed42
2 changed files with 2 additions and 2 deletions

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",

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",