[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.7 and 1.8

version 1.7, 2017/07/27 20:01:05 version 1.8, 2017/12/18 09:12:49
Line 36 
Line 36 
 static volatile pid_t child = -1;  static volatile pid_t child = -1;
   
 int  int
 lg_show_version(struct cmd *cmds, char **argv)  
 {  
         struct utsname uts;  
         if (uname(&uts) >= 0)  
                 printf("%s %s (%s)\n\n", uts.sysname, uts.release, uts.machine);  
         printf("%s - %s\n", NAME, BRIEF);  
         return (0);  
 }  
   
 int  
 lg_checkperm(struct cmd *cmd)  lg_checkperm(struct cmd *cmd)
 {  {
         struct stat stbuf;          struct stat stbuf;

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