Re: Fix compilation warning/error when using ACPIVIDEO_DEBUG

2017-06-29 Thread Mike Larkin
On Wed, Jun 28, 2017 at 10:13:25PM +0200, Fasse wrote: > When building OpenBSD with the ACPIVIDEO_DEBUG option set the > compilation fails: > > cc1: warnings being treated as errors > /usr/src/sys/dev/acpi/acpivideo.c: In function 'acpivideo_set_policy': > /usr/src/sys/dev/acpi/acpivideo.c:136: wa

Fix compilation warning/error when using ACPIVIDEO_DEBUG

2017-06-28 Thread Fasse
When building OpenBSD with the ACPIVIDEO_DEBUG option set the compilation fails: cc1: warnings being treated as errors /usr/src/sys/dev/acpi/acpivideo.c: In function 'acpivideo_set_policy': /usr/src/sys/dev/acpi/acpivideo.c:136: warning: format '%X' expects type 'unsigned int', but argument 3 has