Diff for /embedtools/src/wdog.c between versions 1.1.2.6 and 1.1.2.7

version 1.1.2.6, 2010/10/18 11:20:37 version 1.1.2.7, 2010/10/18 12:18:21
Line 46  sigHand(int sig) Line 46  sigHand(int sig)
 int  int
 main(int argc, char **argv)  main(int argc, char **argv)
 {  {
        char ch, bypass = 0, szChroot[MAXPATHLEN] = "/";        char ch, bypass = 0, szChroot[MAXPATHLEN] = DEFAULT_CHROOT;
         int status = 0, ret = 1;          int status = 0, ret = 1;
         struct sigaction sa;          struct sigaction sa;
         struct passwd *pass = NULL;          struct passwd *pass = NULL;
         uid_t uid = getuid();  
         u_int penalty = 1;          u_int penalty = 1;
           uid_t uid = getuid();
   
         while ((ch = getopt(argc, argv, "vhPc:u:")) != -1)          while ((ch = getopt(argc, argv, "vhPc:u:")) != -1)
                 switch (ch) {                  switch (ch) {

Removed from v.1.1.2.6  
changed lines
  Added in v.1.1.2.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>