chiark / gitweb /
[PATCH] klibc specific tweaks
[elogind.git] / namedev.c
index 22ec6ace244c67c56af4f0ecd5c7e7fdec5b37ce..6d88b5d47a263bf56f71266de84d22de6eafadf9 100644 (file)
--- 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;
 }