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

Diff for /src/usr.bin/audioctl/audioctl.c between version 1.15 and 1.16

version 1.15, 2007/09/27 21:55:54 version 1.16, 2007/11/26 13:36:34
Line 323 
Line 323 
         extern char *__progname;                /* from crt0.o */          extern char *__progname;                /* from crt0.o */
   
         fprintf(stderr,          fprintf(stderr,
             "usage: %s [-n] [-f file] -a\n"              "usage: %s [-an] [-f file]\n"
             "       %s [-n] [-f file] name ...\n"              "       %s [-n] [-f file] name ...\n"
             "       %s [-n] [-f file] name=value ...\n",              "       %s [-n] [-f file] name=value ...\n",
             __progname, __progname, __progname);              __progname, __progname, __progname);
Line 364 
Line 364 
         }          }
         argc -= optind;          argc -= optind;
         argv += optind;          argv += optind;
   
           if (argc == 0)
                   aflag++;
   
         if ((fd = open(file, O_RDWR)) < 0) {          if ((fd = open(file, O_RDWR)) < 0) {
                 if ((fd = open(file, O_RDONLY)) < 0)                  if ((fd = open(file, O_RDONLY)) < 0)

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16