summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2009-06-04 06:34:39 +0000
committerRay Lai <ray@cvs.openbsd.org>2009-06-04 06:34:39 +0000
commita5a4ea5e4b7361a8b9ea72957c1a104b75e32ee2 (patch)
tree58839121eb90ccd66d03fae3230ad6155d8f7520 /sys/dev
parent4ee0bd714b1f9562746e27f76a4bdafc5b7546dc (diff)
Add missing argument to printf statement.
Found with -Wformat. OK dlg
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ami.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index c9b8fe5448f..e654ea75e78 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.192 2009/02/16 21:19:06 miod Exp $ */
+/* $OpenBSD: ami.c,v 1.193 2009/06/04 06:34:38 ray Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -1957,7 +1957,7 @@ ami_mgmt(struct ami_softc *sc, u_int8_t opcode, u_int8_t par1, u_int8_t par2,
while (sc->sc_drained != 1)
if (tsleep(sc, PRIBIO, "ami_mgmt_drain", hz * 60) ==
EWOULDBLOCK) {
- printf("%s: drain io timeout\n");
+ printf("%s: drain io timeout\n", DEVNAME(sc));
ccb->ccb_flags |= AMI_CCB_F_ERR;
goto restartio;
}