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

Diff for /src/usr.bin/tty/tty.c between version 1.8 and 1.9

version 1.8, 2015/10/07 18:00:06 version 1.9, 2015/10/09 01:37:09
Line 43 
Line 43 
         int ch, sflag;          int ch, sflag;
         char *t;          char *t;
   
         if (tame("stdio rpath tty", NULL) == -1)          if (pledge("stdio rpath tty", NULL) == -1)
                 err(1, "tame");                  err(1, "pledge");
   
         sflag = 0;          sflag = 0;
         while ((ch = getopt(argc, argv, "s")) != -1) {          while ((ch = getopt(argc, argv, "s")) != -1) {

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