[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.29 and 1.30

version 1.29, 2009/11/12 07:27:31 version 1.30, 2015/02/08 23:40:34
Line 254 
Line 254 
         while ((ch = getopt(argc, argv, "af:nqtvw")) != -1) {          while ((ch = getopt(argc, argv, "af:nqtvw")) != -1) {
                 switch (ch) {                  switch (ch) {
                 case 'a':                  case 'a':
                         aflag++;                          aflag = 1;
                         break;                          break;
                 case 'w':                  case 'w':
                         /* compat */                          /* compat */
                         break;                          break;
                 case 'v':                  case 'v':
                         vflag++;                          vflag = 1;
                         break;                          break;
                 case 'n':                  case 'n':
                         sep = 0;                          sep = 0;
Line 282 
Line 282 
         argv += optind;          argv += optind;
   
         if (argc == 0 && tflag == 0)          if (argc == 0 && tflag == 0)
                 aflag++;                  aflag = 1;
   
         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)

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30