cvs commit: src/usr.sbin/wicontrol wicontrol.c

Warner Losh imp at FreeBSD.org
Sun Apr 6 12:11:34 PDT 2003


imp         2003/04/06 12:11:33 PDT

  FreeBSD src repository

  Modified files:
    usr.sbin/wicontrol   wicontrol.c 
  Log:
  o Tone down the obsolete messages since we actually do something, for
    the moment, with the deprecated flags.
  o Better error reporting on getting values from the driver.  When we can't
    get one for the default dumpinfo output.  The old driver would succeed
    for invalid RIDs, while the new driver reports errors.  Since the info
    we're getting from the card/driver doesn't exist for all cards, we just
    don't report them.  Improve error reporting elsewhere now that wi_getval
    doesn't exit.  Also fix a file descriptor leak as a side effect.
  
  Reported by: scottl
  
  Revision  Changes    Path
  1.34      +48 -36    src/usr.sbin/wicontrol/wicontrol.c


More information about the cvs-all mailing list