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

Diff for /src/usr.bin/bgplg/misc.c between version 1.1 and 1.2

version 1.1, 2006/12/11 23:10:10 version 1.2, 2006/12/12 11:43:50
Line 42 
Line 42 
         if (uname(&uts) == 0)          if (uname(&uts) == 0)
                 printf("%s %s (%s)\n\n", uts.sysname, uts.release, uts.machine);                  printf("%s %s (%s)\n\n", uts.sysname, uts.release, uts.machine);
         printf("%s - %s\n", NAME, BRIEF);          printf("%s - %s\n", NAME, BRIEF);
         return (0);          return (0);
 }  }
   
 int  int
Line 127 
Line 127 
                 bzero(&it, sizeof(it));                  bzero(&it, sizeof(it));
                 it.it_value.tv_sec = BGPLG_TIMEOUT;                  it.it_value.tv_sec = BGPLG_TIMEOUT;
                 setitimer(ITIMER_REAL, &it, NULL);                  setitimer(ITIMER_REAL, &it, NULL);
   
                 waitpid(child, &status, 0);                  waitpid(child, &status, 0);
                 break;                  break;
         }          }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2