[BACK]Return to showmount.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / showmount

Diff for /src/usr.bin/showmount/showmount.c between version 1.1 and 1.2

version 1.1, 1995/10/18 08:46:07 version 1.2, 1996/04/21 23:43:53
Line 1 
Line 1 
 /*      $NetBSD: showmount.c,v 1.5 1995/08/31 22:26:08 jtc Exp $        */  /*      $NetBSD: showmount.c,v 1.6 1996/04/01 21:32:19 mark Exp $       */
   
 /*  /*
  * Copyright (c) 1989, 1993, 1995   * Copyright (c) 1989, 1993, 1995
Line 46 
Line 46 
 #if 0  #if 0
 static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95";  static char sccsid[] = "@(#)showmount.c 8.3 (Berkeley) 3/29/95";
 #endif  #endif
 static char rcsid[] = "$NetBSD: showmount.c,v 1.5 1995/08/31 22:26:08 jtc Exp $";  static char rcsid[] = "$NetBSD: showmount.c,v 1.6 1996/04/01 21:32:19 mark Exp $";
 #endif not lint  #endif not lint
   
 #include <sys/types.h>  #include <sys/types.h>
Line 114 
Line 114 
         struct exportslist *exp;          struct exportslist *exp;
         struct grouplist *grp;          struct grouplist *grp;
         int estat, rpcs = 0, mntvers = 1;          int estat, rpcs = 0, mntvers = 1;
         char ch, *host;          char *host;
           int ch;
   
         while ((ch = getopt(argc, argv, "ade3")) != EOF)          while ((ch = getopt(argc, argv, "ade3")) != -1)
                 switch((char)ch) {                  switch((char)ch) {
                 case 'a':                  case 'a':
                         if (type == 0) {                          if (type == 0) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2