Dr. Werner Fink 2010-01-29 14:00:35 +00:00 committed by Git OBS Bridge
parent 876c68a185
commit 4624acff52
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
--- src/killall5.c
+++ src/killall5.c 2009-01-27 16:32:40.000000000 +0100
+++ src/killall5.c 2009-01-27 15:32:40.000000000 +0000
@@ -59,6 +59,8 @@ typedef struct proc {
pid_t pid; /* Process ID. */
int sid; /* Session ID. */

View File

@ -2,9 +2,7 @@
src/killall5.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Index: src/killall5.c
===================================================================
--- src/killall5.c.orig
--- src/killall5.c
+++ src/killall5.c
@@ -62,6 +62,7 @@ typedef struct proc {
char isfuse; /* Provides FUSE filesystems */
@ -19,7 +17,7 @@ Index: src/killall5.c
p->isudev = (strncmp(buf, "/sbin/udevd", 11) == 0);
+ /* Check for mdmon */
+ p->ismdmon = (strcmp(buf, "/sbin/mdmon") == 0);
+ p->ismdmon = (strncmp(buf, "/sbin/mdmon", 11) == 0);
+
/* Check for provider of FUSE filesystems */
p->isfuse = is_fuse(d->d_name);