diff options
Diffstat (limited to 'sbin/ccdconfig')
-rw-r--r-- | sbin/ccdconfig/Makefile | 2 | ||||
-rw-r--r-- | sbin/ccdconfig/ccdconfig.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sbin/ccdconfig/Makefile b/sbin/ccdconfig/Makefile index 6d6e7e0..ac75584 100644 --- a/sbin/ccdconfig/Makefile +++ b/sbin/ccdconfig/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PROG= ccdconfig -WARNS?= 3 +WARNS?= 6 MAN= ccdconfig.8 DPADD= ${LIBGEOM} diff --git a/sbin/ccdconfig/ccdconfig.c b/sbin/ccdconfig/ccdconfig.c index 21833e6..c7baa98 100644 --- a/sbin/ccdconfig/ccdconfig.c +++ b/sbin/ccdconfig/ccdconfig.c @@ -380,16 +380,16 @@ dumpout(int unit) static int dump_ccd(int argc, char **argv) { - int i, err; + int i, error; if (argc == 0) { - err = dumpout(-1); + error = dumpout(-1); } else { - err = 0; - for (i = 0; err == 0 && i < argc; i++) - err = dumpout(resolve_ccdname(argv[i])); + error = 0; + for (i = 0; error == 0 && i < argc; i++) + error = dumpout(resolve_ccdname(argv[i])); } - return (err); + return (error); } static int |