summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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 0f2ccc47cb0..b14c2934e52 100644
--- a/sys/dev/isa/it.c
+++ b/sys/dev/isa/it.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: it.c,v 1.30 2008/04/07 09:43:54 form Exp $ */
+/* $OpenBSD: it.c,v 1.31 2008/04/07 17:37:58 form Exp $ */
/*
* Copyright (c) 2007-2008 Oleg Safiullin <form@pdp-11.org.ru>
@@ -248,7 +248,7 @@ it_attach(struct device *parent, struct device *self, void *aux)
if (it_sensors[i].desc != NULL)
snprintf(sc->sc_sensors[i].desc,
- sizeof(sc->sc_sensors[i].desc),
+ sizeof(sc->sc_sensors[i].desc), "%s",
it_sensors[i].desc);
}