diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/mfi.c | 5 | ||||
-rw-r--r-- | sys/dev/ic/mpi.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index eee224a4a23..a604cd69655 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.60 2006/06/19 19:09:04 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.61 2006/06/19 21:06:22 miod Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -644,7 +644,8 @@ mfi_attach(struct mfi_softc *sc) #endif /* NBIO > 0 */ if (mfi_get_info(sc)) { - printf("%s: could not retrieve controller information\n"); + printf("%s: could not retrieve controller information\n", + DEVNAME(sc)); goto noinit; } diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index c79922eb6c0..bc07dbe52c5 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.47 2006/06/18 22:31:06 marco Exp $ */ +/* $OpenBSD: mpi.c,v 1.48 2006/06/19 21:06:22 miod Exp $ */ /* * Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org> @@ -1084,7 +1084,8 @@ mpi_scsi_cmd_done(struct mpi_ccb *ccb) xs->retries++; break; default: - printf("%s: invalid status code %d\n", xs->status); + printf("%s: invalid status code %d\n", + DEVNAME(sc), xs->status); xs->error = XS_DRIVER_STUFFUP; break; } |