diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-06-30 06:25:30 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-06-30 06:25:30 +0000 |
commit | 6367372ffe7df3cf5549875e34ced413c35db604 (patch) | |
tree | 4932239da57642e337861c03d8df4fc09ec12d7b /sys/dev | |
parent | f84547a6b5e43af739e74e81025cd3d54b729917 (diff) |
Fix a format string specifier error in a debug printf.
Noticed and reported by Fasse:
fasse dot f2 at gmail dot com
Thanks.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpi/acpivideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpivideo.c b/sys/dev/acpi/acpivideo.c index 854e9981599..9498465a418 100644 --- a/sys/dev/acpi/acpivideo.c +++ b/sys/dev/acpi/acpivideo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpivideo.c,v 1.10 2015/03/14 03:38:47 jsg Exp $ */ +/* $OpenBSD: acpivideo.c,v 1.11 2017/06/30 06:25:29 mlarkin Exp $ */ /* * Copyright (c) 2008 Federico G. Schwindt <fgsch@openbsd.org> * Copyright (c) 2009 Paul Irofti <pirofti@openbsd.org> @@ -132,7 +132,7 @@ acpivideo_set_policy(struct acpivideo_softc *sc, int policy) args.type = AML_OBJTYPE_INTEGER; aml_evalname(sc->sc_acpi, sc->sc_devnode, "_DOS", 1, &args, &res); - DPRINTF(("%s: set policy to %X\n", DEVNAME(sc), aml_val2int(&res))); + DPRINTF(("%s: set policy to %lld\n", DEVNAME(sc), aml_val2int(&res))); aml_freevalue(&res); } |