summaryrefslogtreecommitdiffstats
path: root/bin/domainname
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-02-22 20:55:04 +0000
committermarkm <markm@FreeBSD.org>2002-02-22 20:55:04 +0000
commit863c4cc748b4dd2ce753f93a8889fd3f1908e778 (patch)
treeb62f94d2f4bbb83b83f164c1963c0b2276777c6f /bin/domainname
parent7b7558d88436331476243b0b668d2e257d7687fe (diff)
downloadFreeBSD-src-863c4cc748b4dd2ce753f93a8889fd3f1908e778.zip
FreeBSD-src-863c4cc748b4dd2ce753f93a8889fd3f1908e778.tar.gz
Warning fix. Enter into the spirit of getopt(3) a bit more.
Diffstat (limited to 'bin/domainname')
-rw-r--r--bin/domainname/domainname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/domainname/domainname.c b/bin/domainname/domainname.c
index fe6d2bf..80137fa 100644
--- a/bin/domainname/domainname.c
+++ b/bin/domainname/domainname.c
@@ -63,6 +63,8 @@ main(int argc, char *argv[])
while ((ch = getopt(argc, argv, "")) != -1)
switch (ch) {
+ case '?':
+ /* fall through */
default:
usage();
}
OpenPOWER on IntegriCloud