diff options
Diffstat (limited to 'procps/pgrep.c')
-rw-r--r-- | procps/pgrep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/pgrep.c b/procps/pgrep.c index 8daf5b28a..1c7c7c48b 100644 --- a/procps/pgrep.c +++ b/procps/pgrep.c | |||
@@ -65,9 +65,9 @@ static void act(unsigned pid, char *cmd, int signo) | |||
65 | { | 65 | { |
66 | if (pgrep) { | 66 | if (pgrep) { |
67 | if (option_mask32 & (1 << OPTBIT_L)) /* OPT_LIST */ | 67 | if (option_mask32 & (1 << OPTBIT_L)) /* OPT_LIST */ |
68 | printf("%d %s\n", pid, cmd); | 68 | printf("%u %s\n", pid, cmd); |
69 | else | 69 | else |
70 | printf("%d\n", pid); | 70 | printf("%u\n", pid); |
71 | } else | 71 | } else |
72 | kill(pid, signo); | 72 | kill(pid, signo); |
73 | } | 73 | } |