diff options
author | Miles Bader <miles@gnu.org> | 1995-10-04 21:22:49 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-10-04 21:22:49 +0000 |
commit | 173242349fecb85dd86365183c9b3ad7a7557d6f (patch) | |
tree | 10d48c16069c8d328ae1b5fc5e420b71e9621893 /ufs | |
parent | 1f920d4fb4b20c5f88284bd06f4e4399a1c76ede (diff) |
(parse_opt): Rearrange slightly.
Diffstat (limited to 'ufs')
-rw-r--r-- | ufs/main.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -66,9 +66,13 @@ static error_t parse_opt (int opt, char *arg) { /* We currently only deal with one option... */ - if (opt != '?') - return EINVAL; - usage (0); /* never returns */ + switch (opt) + { + case '?': + usage (0); /* never returns */ + default: + return EINVAL; + } return 0; } |