CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2016/05/04 23:12:49

Modified files:
        sys/dev/acpi   : acpithinkpad.c 

Log message:
Return ENOTTY in acpithinkpad backlight get/set ioctls if the maximum
value is 0 to match the behaviour when the callbacks are not set.

Prevents a divide by zero in wsconsctl(8) reported by Caspar Schutijser.

earlier version ok jung@ deraadt@ kettenis@

Reply via email to