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

Diff for /src/usr.bin/lastcomm/lastcomm.c between version 1.3 and 1.4

version 1.3, 1996/06/26 05:34:54 version 1.4, 1997/01/15 23:42:41
Line 87 
Line 87 
         char *acctfile;          char *acctfile;
   
         acctfile = _PATH_ACCT;          acctfile = _PATH_ACCT;
         while ((ch = getopt(argc, argv, "f:")) != EOF)          while ((ch = getopt(argc, argv, "f:")) != -1)
                 switch((char)ch) {                  switch((char)ch) {
                 case 'f':                  case 'f':
                         acctfile = optarg;                          acctfile = optarg;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4