summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/it.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2008-10-11 20:31:48 +0000
committermiod <miod@openbsd.org>2008-10-11 20:31:48 +0000
commit421a338cb91e03eccd96aa5ef3a7a5f26b00f54a (patch)
tree05edf4444f0bbd148172e38efa165b247dd822a0 /sys/dev/isa/it.c
parentSince malloc_page_alloc() is a pool allocator it should check for PR_WAITOK (diff)
downloadwireguard-openbsd-421a338cb91e03eccd96aa5ef3a7a5f26b00f54a.tar.xz
wireguard-openbsd-421a338cb91e03eccd96aa5ef3a7a5f26b00f54a.zip
Fix various printf constructs either missing arguments or format specifiers.
Diffstat (limited to 'sys/dev/isa/it.c')
-rw-r--r--sys/dev/isa/it.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/it.c b/sys/dev/isa/it.c
index 61b857b896e..84700ca25f5 100644
--- a/sys/dev/isa/it.c
+++ b/sys/dev/isa/it.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: it.c,v 1.35 2008/10/08 17:32:47 form Exp $ */
+/* $OpenBSD: it.c,v 1.36 2008/10/11 20:31:50 miod Exp $ */
/*
* Copyright (c) 2007-2008 Oleg Safiullin <form@pdp-11.org.ru>
@@ -250,7 +250,7 @@ it_attach(struct device *parent, struct device *self, void *aux)
/* register sensor update task */
if (sensor_task_register(sc, it_ec_refresh, IT_EC_INTERVAL) == NULL) {
- printf(": unable to register update task\n",
+ printf("%s: unable to register update task\n",
sc->sc_dev.dv_xname);
bus_space_unmap(sc->sc_ec_iot, sc->sc_ec_ioh, 8);
return;