aboutsummaryrefslogtreecommitdiff
path: root/procps/pidof.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/pidof.c')
-rw-r--r--procps/pidof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/pidof.c b/procps/pidof.c
index 5a40288dc..941582704 100644
--- a/procps/pidof.c
+++ b/procps/pidof.c
@@ -58,7 +58,7 @@ extern int pidof_main(int argc, char **argv)
58 58
59 /* Looks like everything is set to go. */ 59 /* Looks like everything is set to go. */
60 while(optind < argc) { 60 while(optind < argc) {
61 pid_t* pidList; 61 long* pidList;
62 62
63 pidList = find_pid_by_name( argv[optind]); 63 pidList = find_pid_by_name( argv[optind]);
64 if (!pidList || *pidList<=0) { 64 if (!pidList || *pidList<=0) {