diff options
author | Jaromir Capik <jcapik@redhat.com> | 2013-10-07 18:17:19 +0200 |
---|---|---|
committer | Jaromir Capik <jcapik@redhat.com> | 2013-10-10 17:01:48 +0200 |
commit | 91939c23dc214598d375bfcd1eea71f33644af59 (patch) | |
tree | afc3bb84a97c1744586bf83d6bef457ff5559ffe | |
parent | afe862ebe4be1b02cc5378c68965b7ee2cb9e3d7 (diff) | |
download | procps-ng-91939c23dc214598d375bfcd1eea71f33644af59.tar.gz |
pidof: minor fixes
Adding forgotten --check-root switch. Removing uneeded headers.
-rw-r--r-- | pidof.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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'}, |