diff options
author | 2010-08-27 05:30:59 +0000 | |
---|---|---|
committer | 2010-08-27 05:30:59 +0000 | |
commit | 0520459d5bc08ea6b147e13676d00d7ec7e77817 (patch) | |
tree | 83d600a502a36064ff8bf56d89be2a032cb8ea0f | |
parent | More killing of PWR_STANDBY. cvs skipped these files (diff) | |
download | wireguard-openbsd-0520459d5bc08ea6b147e13676d00d7ec7e77817.tar.xz wireguard-openbsd-0520459d5bc08ea6b147e13676d00d7ec7e77817.zip |
get some format strings and variables right in debug output
-rw-r--r-- | sys/dev/ic/mpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index a666502d8dc..120e677e998 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.156 2010/08/07 03:50:01 krw Exp $ */ +/* $OpenBSD: mpi.c,v 1.157 2010/08/27 05:30:59 dlg Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -2147,12 +2147,12 @@ mpi_cfg_coalescing(struct mpi_softc *sc) } DNPRINTF(MPI_D_MISC, "%s: IOC page 1\n", DEVNAME(sc)); - DNPRINTF(MPI_D_MISC, "%s: flags: 0x08%x\n", DEVNAME(sc), + DNPRINTF(MPI_D_MISC, "%s: flags: 0x%08x\n", DEVNAME(sc), letoh32(pg.flags)); DNPRINTF(MPI_D_MISC, "%s: coalescing_timeout: %d\n", DEVNAME(sc), letoh32(pg.coalescing_timeout)); DNPRINTF(MPI_D_MISC, "%s: coalescing_depth: %d pci_slot_num: %d\n", - DEVNAME(sc), pg.coalescing_timeout, pg.pci_slot_num); + DEVNAME(sc), pg.coalescing_depth, pg.pci_slot_num); flags = letoh32(pg.flags); if (!ISSET(flags, MPI_CFG_IOC_1_REPLY_COALESCING)) |