#if defined(__GLIBC__)
#include <sys/kdaemon.h>
#else
-#include <linux/unistd.h> /* for _syscall() macro */
static _syscall2(int, bdflush, int, func, int, data);
#endif /* __GLIBC__ */
/* Expect to be invoked as init with PID=1 or be invoked as linuxrc */
if (getpid() != 1
#ifdef BB_FEATURE_LINUXRC
- && strstr(argv[0], "linuxrc") == NULL
+ && strstr(applet_name, "linuxrc") == NULL
#endif
)
{