summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-01-21 06:10:14 +0000
committerjsg <jsg@openbsd.org>2014-01-21 06:10:14 +0000
commit2005873ce20b8ced1e7558c7a96a56b445b0035d (patch)
tree5795d9a9bb66d6ab948553a24898da8c39bbf33d
parentSync in the PHY Specific Control and Status register bits. (diff)
downloadwireguard-openbsd-2005873ce20b8ced1e7558c7a96a56b445b0035d.tar.xz
wireguard-openbsd-2005873ce20b8ced1e7558c7a96a56b445b0035d.zip
add a missing printf argument
ok jmatthew@
-rw-r--r--sys/dev/ic/qla.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/qla.c b/sys/dev/ic/qla.c
index f185b444556..103fa3d264d 100644
--- a/sys/dev/ic/qla.c
+++ b/sys/dev/ic/qla.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qla.c,v 1.6 2014/01/21 02:40:02 jmatthew Exp $ */
+/* $OpenBSD: qla.c,v 1.7 2014/01/21 06:10:14 jsg Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -1492,7 +1492,7 @@ qla_async(struct qla_softc *sc, u_int16_t info)
id = qla_read_mbox(sc, 1);
exp = qla_read_mbox(sc, 2);
printf("%s: login reject from %x (reason %d, explanation %x)",
- id >> 8, id & 0xff, exp);
+ DEVNAME(sc), id >> 8, id & 0xff, exp);
break;
case QLA_ASYNC_SCSI_CMD_COMPLETE: