diff options
| author | Olivier Houchard <cognet@FreeBSD.org> | 2008-08-01 13:12:06 +0000 |
|---|---|---|
| committer | Olivier Houchard <cognet@FreeBSD.org> | 2008-08-01 13:12:06 +0000 |
| commit | 2b686a3f4501baf5104abb12e9243539dd9af786 (patch) | |
| tree | 1af5aa69f31f05e04d0584c741fb789efee3a534 /usr.sbin/bootparamd | |
| parent | 7b030859af06412fd9fa7d0232850e886608e9a2 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/bootparamd')
| -rw-r--r-- | usr.sbin/bootparamd/bootparamd/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bootparamd/bootparamd/main.c b/usr.sbin/bootparamd/bootparamd/main.c index 87b8f96085af..38ef3569d3cb 100644 --- a/usr.sbin/bootparamd/bootparamd/main.c +++ b/usr.sbin/bootparamd/bootparamd/main.c @@ -47,10 +47,10 @@ char **argv; SVCXPRT *transp; struct hostent *he; struct stat buf; - char c; + int c; while ((c = getopt(argc, argv,"dsr:f:")) != -1) - switch (c) { + switch ((char)c) { case 'd': debug = 1; break; |
