summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-10-22 23:48:55 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:06:22 -0700
commit1e959a4b05f93bf31d0603a027b50cb148ef7e90 (patch)
tree535e27110fb4f6359466cbbaf2bda0e0d00b84cc /namedev.c
parentc8ba857171bd09a0019d3182fe989c6cf06d98d2 (diff)
[PATCH] klibc specific tweaks
Diffstat (limited to 'namedev.c')
-rw-r--r--namedev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/namedev.c b/namedev.c
index 22ec6ace24..6d88b5d47a 100644
--- a/namedev.c
+++ b/namedev.c
@@ -527,10 +527,12 @@ static int exec_callout(struct config_device *dev, char *value, int len)
retval = -1;
}
+#ifndef __KLIBC__
if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) {
dbg("callout program status 0x%x", status);
retval = -1;
}
+#endif
}
return retval;
}