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 | 2259b90b008f59de33003044c51c73f54df0bf1c (patch) | |
tree | edd79b073ef3ebb363184fee42b94f36957fa27d /ufs/main.c | |
parent | 494c3bc0e7e9a8ae711f9718e3b01b4cb87f79bb (diff) |
(parse_opt): Rearrange slightly.
Diffstat (limited to 'ufs/main.c')
-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; } |