Date: Sun, 6 Apr 2003 12:11:33 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/wicontrol wicontrol.c Message-ID: <200304061911.h36JBXDW062044@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304061911.h36JBXDW062044>