summaryrefslogtreecommitdiffstats
path: root/bin/kill
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-04-28 22:05:01 +0000
committereadler <eadler@FreeBSD.org>2013-04-28 22:05:01 +0000
commitab95cbf03ea98015f9995c53402ed0ab2366df5c (patch)
treedab266eebce15513a8d349d4e4ca225ab5de3358 /bin/kill
parentc4709342cdb0ceb51ded4ada284c1519adb9d39a (diff)
downloadFreeBSD-src-ab95cbf03ea98015f9995c53402ed0ab2366df5c.zip
FreeBSD-src-ab95cbf03ea98015f9995c53402ed0ab2366df5c.tar.gz
Remove cast that was only required for K&R C.
Reviewed by: jilles
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 671d1cb..2d41f78 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))
OpenPOWER on IntegriCloud