diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-08-07 07:05:38 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-08-07 07:05:38 +0000 |
commit | caf7ef54ac3f0da079dbdebb1330adf05428d3de (patch) | |
tree | 83ad092b203e245242cc6b745c0b706aba22598c /usr.bin/quota | |
parent | 77fb4fcf227328720f13a7a4347843d0b67c7310 (diff) | |
download | FreeBSD-src-caf7ef54ac3f0da079dbdebb1330adf05428d3de.zip FreeBSD-src-caf7ef54ac3f0da079dbdebb1330adf05428d3de.tar.gz |
Assign the result of getopt() to an int rather than to a char.
Diffstat (limited to 'usr.bin/quota')
-rw-r--r-- | usr.bin/quota/quota.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/quota/quota.c b/usr.bin/quota/quota.c index 6996359..4decd8b 100644 --- a/usr.bin/quota/quota.c +++ b/usr.bin/quota/quota.c @@ -112,8 +112,7 @@ main(int argc, char *argv[]) { int ngroups; gid_t mygid, gidset[NGROUPS]; - int i, gflag = 0, uflag = 0; - char ch; + int i, ch, gflag = 0, uflag = 0; while ((ch = getopt(argc, argv, "glquv")) != -1) { switch(ch) { |