diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-10 19:03:03 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-10 19:03:03 +0000 |
| commit | 230db79f99f1e1c04e250fa97cfffd65bbb5d530 (patch) | |
| tree | 556bc9f4ae6cd8b97483b3ee1d6b2a1f04770ded /miscutils | |
| parent | 4a36961916e26360bfa2a712ed2b82ff626f7e40 (diff) | |
| download | busybox-w32-230db79f99f1e1c04e250fa97cfffd65bbb5d530.tar.gz busybox-w32-230db79f99f1e1c04e250fa97cfffd65bbb5d530.tar.bz2 busybox-w32-230db79f99f1e1c04e250fa97cfffd65bbb5d530.zip | |
Ha. Regression testing found a bug with uClibc support. Fixed.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@2298 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/dutmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/dutmp.c b/miscutils/dutmp.c index 26253b445..df5ee13fb 100644 --- a/miscutils/dutmp.c +++ b/miscutils/dutmp.c | |||
| @@ -42,7 +42,7 @@ extern int dutmp_main(int argc, char **argv) | |||
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | /* Kludge around the fact that the binary format for utmp has changed. */ | 44 | /* Kludge around the fact that the binary format for utmp has changed. */ |
| 45 | #if __GNU_LIBRARY__ < 5 | 45 | #if __GNU_LIBRARY__ < 5 || defined __UCLIBC__ |
| 46 | /* Linux libc5 */ | 46 | /* Linux libc5 */ |
| 47 | while (read(file, (void*)&ut, sizeof(struct utmp))) { | 47 | while (read(file, (void*)&ut, sizeof(struct utmp))) { |
| 48 | printf("%d|%d|%s|%s|%s|%s|%s|%lx\n", | 48 | printf("%d|%d|%s|%s|%s|%s|%s|%lx\n", |
