freebsd-skq/usr.sbin/acpi/acpiconf
zeising f59eb17412 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
acpiconf.c Improve options and error handling. 2017-12-09 15:59:10 +00:00
Makefile
Makefile.depend