summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-02-08 09:07:37 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-02-08 09:07:37 +0000
commit259e1db9a22ff45c6384449bac34dcb7c9e2d4e9 (patch)
treee48dd61587536ebe91912e71ecf5e7eadf5f39da /sys/dev
parente882204423fffae258e60fde16b40179093743b1 (diff)
Use sc_print_addr() to report drive errors.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c
index b4ec9ef01e7..2e7bb860f25 100644
--- a/sys/dev/pci/ips.c
+++ b/sys/dev/pci/ips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ips.c,v 1.32 2009/02/08 08:54:10 grange Exp $ */
+/* $OpenBSD: ips.c,v 1.33 2009/02/08 09:07:36 grange Exp $ */
/*
* Copyright (c) 2006, 2007 Alexander Yurchenko <grange@openbsd.org>
@@ -776,7 +776,7 @@ ips_done(struct ips_softc *sc, struct ips_ccb *ccb)
}
if (ccb->c_stat) {
- printf("%s: ", sc->sc_dev.dv_xname);
+ sc_print_addr(xs->sc_link);
if (ccb->c_stat == 1) {
printf("recovered error\n");
} else {