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

Diff for /src/usr.bin/bgplg/bgplg.c between version 1.13 and 1.14

version 1.13, 2015/01/16 06:40:06 version 1.14, 2015/10/18 22:37:30
Line 28 
Line 28 
 #include <ctype.h>  #include <ctype.h>
 #include <errno.h>  #include <errno.h>
 #include <fcntl.h>  #include <fcntl.h>
   #include <err.h>
   
 #include "bgplg.h"  #include "bgplg.h"
   
Line 252 
Line 253 
         struct stat st;          struct stat st;
         u_int i;          u_int i;
         struct cmd *cmdp = NULL;          struct cmd *cmdp = NULL;
   
           if (pledge("stdio rpath proc exec", NULL) == -1)
                   err(1, "pledge");
   
         if (gethostname(myname, sizeof(myname)) != 0)          if (gethostname(myname, sizeof(myname)) != 0)
                 return (1);                  return (1);

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