summaryrefslogtreecommitdiff
path: root/usr.sbin/kgmon/kgmon.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-11-27 13:32:03 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-11-27 13:32:03 +0000
commit6b969450ad80f281cbe58d1974c250b84b1a429c (patch)
tree7810874263d02c279e59b68ce5a87850bcd1891c /usr.sbin/kgmon/kgmon.c
parentf885baa06758e9acb34a25340f4c4de85179e903 (diff)
remove erroneous char cast to switch expression processing getopt(3);
not used in any cases. ok deraadt@, guenther@, millert@
Diffstat (limited to 'usr.sbin/kgmon/kgmon.c')
-rw-r--r--usr.sbin/kgmon/kgmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/kgmon/kgmon.c b/usr.sbin/kgmon/kgmon.c
index 3fc1836de9f..91505950cdf 100644
--- a/usr.sbin/kgmon/kgmon.c
+++ b/usr.sbin/kgmon/kgmon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kgmon.c,v 1.19 2013/11/12 13:09:22 deraadt Exp $ */
+/* $OpenBSD: kgmon.c,v 1.20 2013/11/27 13:32:02 okan Exp $ */
/*
* Copyright (c) 1983, 1992, 1993
@@ -84,7 +84,7 @@ main(int argc, char **argv)
kmemf = NULL;
sys = NULL;
while ((ch = getopt(argc, argv, "M:N:bc:hpr")) != -1) {
- switch((char)ch) {
+ switch(ch) {
case 'M':
kmemf = optarg;