[hackers] [ubase] Fix style issue || sin

From: <git_AT_suckless.org>
Date: Thu, 06 Mar 2014 16:09:19 +0100

commit a3e437c7ef0fab5197c53549a22fbc0db5c2570d
Author: sin <sin_AT_2f30.org>
Date: Thu Mar 6 15:06:47 2014 +0000

    Fix style issue

diff --git a/killall5.c b/killall5.c
index acadbf3..7f91e06 100644
--- a/killall5.c
+++ b/killall5.c
_AT_@ -61,7 +61,7 @@ main(int argc, char *argv[])
         if (!(dp = opendir("/proc")))
                 eprintf("opendir /proc:");
         while ((entry = readdir(dp))) {
- if (!pidfile(entry->d_name))
+ if (pidfile(entry->d_name) == 0)
                         continue;
                 pid = estrtol(entry->d_name, 10);
                 if (pid == 1 || pid == getpid() ||
Received on Thu Mar 06 2014 - 16:09:19 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 06 2014 - 16:12:18 CET