summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2017-06-30 06:25:29 +0000
committermlarkin <mlarkin@openbsd.org>2017-06-30 06:25:29 +0000
commita796f3c835ebb8639ae509cbfb5dcac4c63e4476 (patch)
treecc71d81a5d503fecbc02f47765a6043d8748fa0a
parentRemove unused variables (diff)
downloadwireguard-openbsd-a796f3c835ebb8639ae509cbfb5dcac4c63e4476.tar.xz
wireguard-openbsd-a796f3c835ebb8639ae509cbfb5dcac4c63e4476.zip
Fix a format string specifier error in a debug printf.
Noticed and reported by Fasse: fasse dot f2 at gmail dot com Thanks.
-rw-r--r--sys/dev/acpi/acpivideo.c4
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);
}