[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    svn commit: trunk/busybox/procps
From:       vda () busybox ! net (vda at busybox ! net)
Date:       2007-09-30 16:36:02
Message-ID: 20070930163602.C2CEB300D4 () busybox ! net
[Download RAW message or body]

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);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic