aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-09-30 16:36:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-09-30 16:36:02 +0000
commit5fb09656cadbec6a3bf609d95c7cccd7fc5c00a5 (patch)
treee7907c48d521048ee806c389d525f4de2fe665ba
parenta4f4de9b7e73d89ef727796e06172419ab8a177c (diff)
downloadbusybox-w32-5fb09656cadbec6a3bf609d95c7cccd7fc5c00a5.tar.gz
busybox-w32-5fb09656cadbec6a3bf609d95c7cccd7fc5c00a5.tar.bz2
busybox-w32-5fb09656cadbec6a3bf609d95c7cccd7fc5c00a5.zip
fixlet to pgrep/pkill
-rw-r--r--procps/pgrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/pgrep.c b/procps/pgrep.c
index 2bedabf72..c5747a163 100644
--- a/procps/pgrep.c
+++ b/procps/pgrep.c
@@ -121,7 +121,7 @@ int pgrep_main(int argc, char **argv)
121 matched_pid = proc->pid; 121 matched_pid = proc->pid;
122 if (OPT_LAST) { 122 if (OPT_LAST) {
123 free(cmd_last); 123 free(cmd_last);
124 cmd_last = xstrdup(cmd_last); 124 cmd_last = xstrdup(cmd);
125 continue; 125 continue;
126 } 126 }
127 act(proc->pid, cmd, signo, opt); 127 act(proc->pid, cmd, signo, opt);