From a796f3c835ebb8639ae509cbfb5dcac4c63e4476 Mon Sep 17 00:00:00 2001 From: mlarkin Date: Fri, 30 Jun 2017 06:25:29 +0000 Subject: [PATCH] Fix a format string specifier error in a debug printf. Noticed and reported by Fasse: fasse dot f2 at gmail dot com Thanks. --- sys/dev/acpi/acpivideo.c | 4 ++-- 1 file 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 * Copyright (c) 2009 Paul Irofti @@ -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); } -- 2.20.1