aboutsummaryrefslogtreecommitdiff
path: root/sbin/devfs/rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/devfs/rule.c')
-rw-r--r--sbin/devfs/rule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devfs/rule.c b/sbin/devfs/rule.c
index f1fd908753e3..b179c9e2fb1e 100644
--- a/sbin/devfs/rule.c
+++ b/sbin/devfs/rule.c
@@ -82,7 +82,7 @@ int
rule_main(int ac, char **av)
{
struct cmd *c;
- char ch;
+ int ch;
setprogname("devfs rule");
optreset = optind = 1;