[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.8 and 1.9

version 1.8, 2009/10/27 23:59:40 version 1.9, 2015/10/12 06:00:57
Line 52 
Line 52 
         char *tty;          char *tty;
         int ch;          int ch;
   
           if (pledge("stdio rpath fattr tty", NULL) == -1)
                   err(1, "pledge");
   
         while ((ch = getopt(argc, argv, "")) != -1)          while ((ch = getopt(argc, argv, "")) != -1)
                 switch (ch) {                  switch (ch) {
                 case '?':                  case '?':

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9