From: mlarkin Date: Fri, 30 Jun 2017 06:25:29 +0000 (+0000) Subject: Fix a format string specifier error in a debug printf. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a796f3c835ebb8639ae509cbfb5dcac4c63e4476;p=openbsd Fix a format string specifier error in a debug printf. Noticed and reported by Fasse: fasse dot f2 at gmail dot com Thanks. --- 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); }