[hackers] [sbase] kill: argc < 2 should be argc < 1 || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Fri, 07 Mar 2014 19:56:37 +0100

commit f34e1ae1d0b2bb95290425a3e0292937b47e4de5
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri Mar 7 19:35:43 2014 +0100

    kill: argc < 2 should be argc < 1
    
    Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>

diff --git a/kill.c b/kill.c
index 3a65de9..70e95f9 100644
--- a/kill.c
+++ b/kill.c
_AT_@ -57,7 +57,7 @@ main(int argc, char *argv[])
                 usage();
         } ARGEND;
 
- if(argc < 2)
+ if(argc < 1)
                 usage();
 
         if(lflag) {
Received on Fri Mar 07 2014 - 19:56:37 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 07 2014 - 20:00:16 CET