=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/showmount/showmount.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/showmount/showmount.c 1995/10/18 08:46:07 1.1 --- src/usr.bin/showmount/showmount.c 1996/04/21 23:43:53 1.2 *************** *** 1,4 **** ! /* $NetBSD: showmount.c,v 1.5 1995/08/31 22:26:08 jtc Exp $ */ /* * Copyright (c) 1989, 1993, 1995 --- 1,4 ---- ! /* $NetBSD: showmount.c,v 1.6 1996/04/01 21:32:19 mark Exp $ */ /* * Copyright (c) 1989, 1993, 1995 *************** *** 46,52 **** #if 0 static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95"; #endif ! static char rcsid[] = "$NetBSD: showmount.c,v 1.5 1995/08/31 22:26:08 jtc Exp $"; #endif not lint #include --- 46,52 ---- #if 0 static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95"; #endif ! static char rcsid[] = "$NetBSD: showmount.c,v 1.6 1996/04/01 21:32:19 mark Exp $"; #endif not lint #include *************** *** 114,122 **** struct exportslist *exp; struct grouplist *grp; int estat, rpcs = 0, mntvers = 1; ! char ch, *host; ! while ((ch = getopt(argc, argv, "ade3")) != EOF) switch((char)ch) { case 'a': if (type == 0) { --- 114,123 ---- struct exportslist *exp; struct grouplist *grp; int estat, rpcs = 0, mntvers = 1; ! char *host; ! int ch; ! while ((ch = getopt(argc, argv, "ade3")) != -1) switch((char)ch) { case 'a': if (type == 0) {