#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
-#include "pwd.h"
#include "busybox.h"
+#include "pwd_.h"
static int start = 0;
static int stop = 0;
sprintf(buf, "/proc/%d/cmdline", pid);
fp = fopen(buf, "r");
if (fp && fgets (buf, sizeof (buf), fp) ) {
+ fclose(fp);
if (strncmp (buf, exec, strlen(exec)) == 0)
return 1;
}