[Pkg-sysvinit-commits] r218 - sysvinit/trunk/src
Thomas Hood
jdthood-guest at costa.debian.org
Wed Nov 23 18:49:04 UTC 2005
Author: jdthood-guest
Date: 2005-11-23 18:49:04 +0000 (Wed, 23 Nov 2005)
New Revision: 218
Modified:
sysvinit/trunk/src/killall5.c
Log:
Check the right pointer
Modified: sysvinit/trunk/src/killall5.c
===================================================================
--- sysvinit/trunk/src/killall5.c 2005-11-23 18:42:14 UTC (rev 217)
+++ sysvinit/trunk/src/killall5.c 2005-11-23 18:49:04 UTC (rev 218)
@@ -413,7 +413,7 @@
/* Compare name (both basename and full path) */
ok += (p->argv0 && strcmp(p->argv0, prog) == 0);
- ok += (p->argv0 && strcmp(p->argv0base, s) == 0);
+ ok += (p->argv0base && strcmp(p->argv0base, s) == 0);
/* For scripts, compare argv[1] as well. */
if (scripts_too && p->argv1 &&
More information about the Pkg-sysvinit-commits
mailing list