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

Diff for /src/usr.bin/logger/logger.c between version 1.15 and 1.16

version 1.15, 2015/10/05 23:59:11 version 1.16, 2015/10/09 01:37:08
Line 93 
Line 93 
         openlog(tag ? tag : getlogin(), logflags, 0);          openlog(tag ? tag : getlogin(), logflags, 0);
         (void) fclose(stdout);          (void) fclose(stdout);
   
         if (tame("stdio", NULL) == -1)          if (pledge("stdio", NULL) == -1)
                 err(1, "tame");                  err(1, "pledge");
   
         /* log input line if appropriate */          /* log input line if appropriate */
         if (argc > 0) {          if (argc > 0) {

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