aboutsummaryrefslogtreecommitdiff
path: root/bin/kill
diff options
context:
space:
mode:
Diffstat (limited to 'bin/kill')
-rw-r--r--bin/kill/kill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/kill/kill.c b/bin/kill/kill.c
index 671d1cb1fc87..2d41f7865e48 100644
--- a/bin/kill/kill.c
+++ b/bin/kill/kill.c
@@ -156,7 +156,7 @@ signame_to_signum(const char *sig)
{
int n;
- if (!strncasecmp(sig, "SIG", (size_t)3))
+ if (strncasecmp(sig, "SIG", 3) == 0)
sig += 3;
for (n = 1; n < sys_nsig; n++) {
if (!strcasecmp(sys_signame[n], sig))