mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Patch from Danny Lepage <danny.lepage@cognicase.com> to fix
dutmp for uClibc.
This commit is contained in:
parent
5222d31a15
commit
8c4025e708
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user