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

Diff for /src/usr.bin/radioctl/radioctl.c between version 1.6 and 1.7

version 1.6, 2002/01/01 22:03:49 version 1.7, 2002/01/02 19:18:55
Line 109 
Line 109 
         char *radiodev = NULL;          char *radiodev = NULL;
         int rd = -1;          int rd = -1;
   
         char optchar;          int optchar;
         char *param = NULL;          char *param = NULL;
   
         int show_vars = 0;          int show_vars = 0;
Line 118 
Line 118 
   
         int optv = 0;          int optv = 0;
   
         if (argc < 2) {          if (argc < 2)
                 usage();                  usage();
                 exit(1);  
         }  
   
         radiodev = getenv(RADIO_ENV);          radiodev = getenv(RADIO_ENV);
         if (radiodev == NULL)          if (radiodev == NULL)
Line 186 
Line 184 
 static void  static void
 usage(void)  usage(void)
 {  {
         printf("Usage: %s [-f file] [-a] [-n] [-w name=value] [name]\n",          fprintf(stderr, "usage:  %s [-f file] [-n] variable ...\n"
             __progname);              "        %s [-f file] [-n] -w variable=value ...\n"
               "        %s [-f file] [-n] -a\n",
               __progname, __progname, __progname);
           exit(1);
 }  }
   
 static void  static void

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