diff options
author | deraadt <deraadt@openbsd.org> | 1996-04-21 23:38:17 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 1996-04-21 23:38:17 +0000 |
commit | f3bae140e877f130f33051ddb228cb34a056c92b (patch) | |
tree | c5f519d1e41a8239f986cc5a6f4fb0b979e31e11 /usr.sbin/repquota | |
parent | partial sync with netbsd 960418, more to come (diff) | |
download | wireguard-openbsd-f3bae140e877f130f33051ddb228cb34a056c92b.tar.xz wireguard-openbsd-f3bae140e877f130f33051ddb228cb34a056c92b.zip |
sync to netbsd 960418
Diffstat (limited to 'usr.sbin/repquota')
-rw-r--r-- | usr.sbin/repquota/repquota.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c index 0715aae99a3..ec07841efe4 100644 --- a/usr.sbin/repquota/repquota.c +++ b/usr.sbin/repquota/repquota.c @@ -42,7 +42,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)repquota.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$Id: repquota.c,v 1.4 1996/01/07 05:28:06 deraadt Exp $"; +static char *rcsid = "$Id: repquota.c,v 1.5 1996/04/21 23:41:45 deraadt Exp $"; #endif /* not lint */ /* @@ -88,9 +88,10 @@ main(argc, argv) long i, argnum, done = 0; extern char *optarg; extern int optind; - char ch, *qfnp; + char *qfnp; + int ch; - while ((ch = getopt(argc, argv, "aguv")) != EOF) { + while ((ch = getopt(argc, argv, "aguv")) != -1) { switch(ch) { case 'a': aflag++; |