summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-10-11 20:31:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-10-11 20:31:51 +0000
commitfbf6d57c88befc80354d4817fc1e3df5d48f52de (patch)
treef26adafa5df37d87fb5608ea2cc3118afbc06ffa /sys/dev/acpi
parent9907ad3fee04706157cd0e2da2bb86047e1e7e28 (diff)
Fix various printf constructs either missing arguments or format specifiers.
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpicpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpicpu.c b/sys/dev/acpi/acpicpu.c
index 398f2d4e2c4..431bfba009d 100644
--- a/sys/dev/acpi/acpicpu.c
+++ b/sys/dev/acpi/acpicpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpicpu.c,v 1.46 2008/08/08 01:05:20 krw Exp $ */
+/* $OpenBSD: acpicpu.c,v 1.47 2008/10/11 20:31:50 miod Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -315,7 +315,7 @@ acpicpu_attach(struct device *parent, struct device *self, void *aux)
#endif
if (sc->sc_pss_len == 0) {
/* this should never happen */
- printf("%s: invalid _PSS length\n");
+ printf("%s: invalid _PSS length\n", DEVNAME(sc));
sc->sc_flags |= FLAGS_NOPSS;
}