aboutsummaryrefslogtreecommitdiff
path: root/bin/kill/kill.c
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-04-28 22:05:01 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-04-28 22:05:01 +0000
commitcdbf4feea979cc590533bd50713c1d70d99b82b6 (patch)
treedab266eebce15513a8d349d4e4ca225ab5de3358 /bin/kill/kill.c
parent2b235be6d35bfde7d095f16f8da7dccee79d026b (diff)
downloadsrc-cdbf4feea979cc590533bd50713c1d70d99b82b6.tar.gz
src-cdbf4feea979cc590533bd50713c1d70d99b82b6.zip
Remove cast that was only required for K&R C.
Reviewed by: jilles
Notes
Notes: svn path=/head/; revision=250035
Diffstat (limited to 'bin/kill/kill.c')
-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))