freebsd-dev/usr.sbin/acpi/acpiconf
Niclas Zeising fba6127915 Improve options and error handling.
Improve options handling and error out if multiple mutually exclusive
options are passed to acpiconf.  Switch from using atoi() to strtol() for
argument parsing, and add error checking and handling, instead of blindly
trusting that the integer conversion is OK.
Cange err() to errx() in once case, the errno value was garbage there.

Reviewed by:	emaste
Approved by:	emaste
Differential Revision:	D13430
2017-12-09 15:59:10 +00:00
..
acpiconf.8 Remove unsupported S5 (power off) state since r170976. 2015-09-22 16:35:32 +00:00
acpiconf.c Improve options and error handling. 2017-12-09 15:59:10 +00:00
Makefile
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00