[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.22 and 1.23

version 1.22, 2015/10/07 14:05:07 version 1.23, 2015/10/09 01:37:08
Line 69 
Line 69 
         int ch;          int ch;
         char *acctfile;          char *acctfile;
   
         if (tame("stdio rpath getpw", NULL) == -1)          if (pledge("stdio rpath getpw", NULL) == -1)
                 err(1, "tame");                  err(1, "pledge");
   
         acctfile = _PATH_ACCT;          acctfile = _PATH_ACCT;
         while ((ch = getopt(argc, argv, "f:")) != -1)          while ((ch = getopt(argc, argv, "f:")) != -1)

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23