diff options
author | Denis Vlasenko | 2007-09-30 16:36:02 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-09-30 16:36:02 +0000 |
commit | 5fb09656cadbec6a3bf609d95c7cccd7fc5c00a5 (patch) | |
tree | e7907c48d521048ee806c389d525f4de2fe665ba /procps/pgrep.c | |
parent | a4f4de9b7e73d89ef727796e06172419ab8a177c (diff) | |
download | busybox-5fb09656cadbec6a3bf609d95c7cccd7fc5c00a5.zip busybox-5fb09656cadbec6a3bf609d95c7cccd7fc5c00a5.tar.gz |
fixlet to pgrep/pkill
Diffstat (limited to 'procps/pgrep.c')
-rw-r--r-- | procps/pgrep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/pgrep.c b/procps/pgrep.c index 2bedabf..c5747a1 100644 --- a/procps/pgrep.c +++ b/procps/pgrep.c @@ -121,7 +121,7 @@ int pgrep_main(int argc, char **argv) matched_pid = proc->pid; if (OPT_LAST) { free(cmd_last); - cmd_last = xstrdup(cmd_last); + cmd_last = xstrdup(cmd); continue; } act(proc->pid, cmd, signo, opt); |