summaryrefslogtreecommitdiff
path: root/usr.sbin/mtree
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/mtree
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/mtree')
-rw-r--r--usr.sbin/mtree/mtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mtree/mtree.c b/usr.sbin/mtree/mtree.c
index af746d68342..837b2fe1b97 100644
--- a/usr.sbin/mtree/mtree.c
+++ b/usr.sbin/mtree/mtree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mtree.c,v 1.20 2009/10/27 23:59:53 deraadt Exp $ */
+/* $OpenBSD: mtree.c,v 1.21 2013/11/27 13:32:02 okan Exp $ */
/* $NetBSD: mtree.c,v 1.7 1996/09/05 23:29:22 thorpej Exp $ */
/*-
@@ -61,7 +61,7 @@ main(int argc, char *argv[])
dir = NULL;
keys = KEYDEFAULT;
while ((ch = getopt(argc, argv, "cdef:iK:k:lnp:qrs:tUux")) != -1)
- switch((char)ch) {
+ switch(ch) {
case 'c':
cflag = 1;
break;