From b1dc8285873d8aef3b96111ab4fed1de58fc2db4 Mon Sep 17 00:00:00 2001 From: Oleg Safiullin Date: Mon, 7 Apr 2008 17:37:59 +0000 Subject: fix snprintf usage --- sys/dev/isa/it.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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 @@ -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); } -- cgit v1.2.3