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

Diff for /src/usr.bin/last/last.c between version 1.52 and 1.53

version 1.52, 2019/06/28 13:35:01 version 1.53, 2021/07/12 15:09:19
Line 153 
Line 153 
                 exit(0);                  exit(0);
   
         if (unveil(file, "r") == -1)          if (unveil(file, "r") == -1)
                 err(1, "unveil");                  err(1, "unveil %s", file);
         if (pledge("stdio rpath", NULL) == -1)          if (pledge("stdio rpath", NULL) == -1)
                 err(1, "pledge");                  err(1, "pledge");
   

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53