=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/showmount/showmount.c,v retrieving revision 1.13 retrieving revision 1.14 diff -c -r1.13 -r1.14 *** src/usr.bin/showmount/showmount.c 2003/06/10 22:20:51 1.13 --- src/usr.bin/showmount/showmount.c 2003/12/12 02:14:36 1.14 *************** *** 1,4 **** ! /* $OpenBSD: showmount.c,v 1.13 2003/06/10 22:20:51 deraadt Exp $ */ /* $NetBSD: showmount.c,v 1.7 1996/05/01 18:14:10 cgd Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: showmount.c,v 1.14 2003/12/12 02:14:36 deraadt Exp $ */ /* $NetBSD: showmount.c,v 1.7 1996/05/01 18:14:10 cgd Exp $ */ /* *************** *** 43,49 **** #if 0 static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95"; #endif ! static char rcsid[] = "$OpenBSD: showmount.c,v 1.13 2003/06/10 22:20:51 deraadt Exp $"; #endif /* not lint */ #include --- 43,49 ---- #if 0 static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95"; #endif ! static char rcsid[] = "$OpenBSD: showmount.c,v 1.14 2003/12/12 02:14:36 deraadt Exp $"; #endif /* not lint */ #include *************** *** 119,125 **** int ch, clnt_sock; while ((ch = getopt(argc, argv, "ade3")) != -1) ! switch((char)ch) { case 'a': if (type == 0) { type = ALL; --- 119,125 ---- int ch, clnt_sock; while ((ch = getopt(argc, argv, "ade3")) != -1) ! switch (ch) { case 'a': if (type == 0) { type = ALL; *************** *** 140,146 **** case '3': mntvers = 3; break; - case '?': default: usage(); } --- 140,145 ----