summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/scsi/scsiconf.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 969cb16dd14..ce3813d5430 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.135 2008/07/22 01:01:31 dlg Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.136 2009/02/16 00:05:03 dlg Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -161,8 +161,10 @@ scsibusattach(struct device *parent, struct device *self, void *aux)
if (sb->adapter_link->luns == 0)
sb->adapter_link->luns = 8;
- printf(": %d targets, initiator %d\n", sb->sc_buswidth,
- sb->adapter_link->adapter_target);
+ printf(": %d targets", sb->sc_buswidth);
+ if (sb->adapter_link->adapter_target < sb->sc_buswidth)
+ printf(", initiator %d", sb->adapter_link->adapter_target);
+ printf("\n");
/* Initialize shared data. */
scsi_init();