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

Diff for /src/usr.bin/mesg/mesg.c between version 1.14 and 1.15

version 1.14, 2018/08/11 10:58:39 version 1.15, 2018/08/11 11:04:26
Line 67 
Line 67 
         if (unveil(tty, "rw") == -1)          if (unveil(tty, "rw") == -1)
                 err(2, "unveil");                  err(2, "unveil");
         if (pledge("stdio rpath fattr", NULL) == -1)          if (pledge("stdio rpath fattr", NULL) == -1)
                 err(2, "unveil");                  err(2, "pledge");
   
         if (stat(tty, &sb) < 0)          if (stat(tty, &sb) < 0)
                 err(2, "%s", tty);                  err(2, "%s", tty);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15