diff -Nru a/klibc_fixups.h b/klibc_fixups.h --- a/klibc_fixups.h Thu Jan 8 19:03:26 2004 +++ b/klibc_fixups.h Thu Jan 8 19:03:26 2004 @@ -4,6 +4,11 @@ #define KLIBC_FIXUPS_H +#define WTERMSIG(status) ((status) & 0x7f) +#define WEXITSTATUS(status) (((status) & 0xff00) >> 8) +#define WIFEXITED(status) (WTERMSIG(status) == 0) + + struct group { char *gr_name; /* group name */ char *gr_passwd; /* group password */ diff -Nru a/namedev.c b/namedev.c --- a/namedev.c Thu Jan 8 19:03:26 2004 +++ b/namedev.c Thu Jan 8 19:03:26 2004 @@ -380,12 +380,10 @@ retval = -1; } -#ifndef __KLIBC__ if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { dbg("callout program status 0x%x", status); retval = -1; } -#endif } return retval; }