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

Diff for /src/usr.bin/mixerctl/mixerctl.c between version 1.25 and 1.26

version 1.25, 2007/09/27 21:55:54 version 1.26, 2007/11/26 13:36:34
Line 282 
Line 282 
                 case 't':                  case 't':
                         tflag = 1;                          tflag = 1;
                         break;                          break;
                 case '?':  
                 default:                  default:
                         usage();                          usage();
                 }                  }
Line 290 
Line 289 
         argc -= optind;          argc -= optind;
         argv += optind;          argv += optind;
   
           if (argc == 0 && tflag == 0)
                   aflag++;
   
         if ((fd = open(file, O_RDWR)) == -1)          if ((fd = open(file, O_RDWR)) == -1)
                 if ((fd = open(file, O_RDONLY)) == -1)                  if ((fd = open(file, O_RDONLY)) == -1)
                         err(1, "%s", file);                          err(1, "%s", file);
Line 400 
Line 402 
         extern char *__progname;        /* from crt0.o */          extern char *__progname;        /* from crt0.o */
   
         fprintf(stderr,          fprintf(stderr,
             "usage: %s [-nv] [-f file] -a\n"              "usage: %s [-anv] [-f file]\n"
             "       %s [-nv] [-f file] name ...\n"              "       %s [-nv] [-f file] name ...\n"
             "       %s [-qt] [-f file] name ...\n"              "       %s [-qt] [-f file] name ...\n"
             "       %s [-q] [-f file] name=value ...\n",              "       %s [-q] [-f file] name=value ...\n",

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26