From 91939c23dc214598d375bfcd1eea71f33644af59 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Mon, 7 Oct 2013 18:17:19 +0200 Subject: [PATCH] pidof: minor fixes Adding forgotten --check-root switch. Removing uneeded headers. --- pidof.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pidof.c b/pidof.c index 6cce24c7..a39a4c0c 100644 --- a/pidof.c +++ b/pidof.c @@ -26,9 +26,6 @@ #include "nls.h" #include "xalloc.h" #include "proc/readproc.h" -#include "proc/sig.h" -#include "proc/devname.h" -#include "proc/sysinfo.h" #include "proc/version.h" /* procps_version */ @@ -284,6 +281,7 @@ int main (int argc, char **argv) const char *opts = "scnxmo:?Vh"; static const struct option longopts[] = { + {"check-root", no_argument, NULL, 'c'}, {"single-shot", no_argument, NULL, 's'}, {"omit-pid", required_argument, NULL, 'o'}, {"help", no_argument, NULL, 'h'},