svn commit: trunk/busybox/procps

vda at busybox.net vda at busybox.net
Sun Sep 30 16:36:02 UTC 2007


Author: vda
Date: 2007-09-30 09:36:02 -0700 (Sun, 30 Sep 2007)
New Revision: 20147

Log:
fixlet to pgrep/pkill



Modified:
   trunk/busybox/procps/pgrep.c


Changeset:
Modified: trunk/busybox/procps/pgrep.c
===================================================================
--- trunk/busybox/procps/pgrep.c	2007-09-30 16:32:01 UTC (rev 20146)
+++ trunk/busybox/procps/pgrep.c	2007-09-30 16:36:02 UTC (rev 20147)
@@ -121,7 +121,7 @@
 			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);




More information about the busybox-cvs mailing list