summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsiconf.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2011-04-06 13:33:46 +0000
committerdlg <dlg@openbsd.org>2011-04-06 13:33:46 +0000
commitbe75bef7a7b81a54233e16cae4a0ec7b1edfcddf (patch)
tree204759f4d77d689b1e0b3ded12b6377b5a625c02 /sys/scsi/scsiconf.c
parentDocumentation for "on rdomain <number>". OK henning@ (diff)
downloadwireguard-openbsd-be75bef7a7b81a54233e16cae4a0ec7b1edfcddf.tar.xz
wireguard-openbsd-be75bef7a7b81a54233e16cae4a0ec7b1edfcddf.zip
unconditionally print scsi device ids instead of just when mpath is
enabled so people can get used to it. ok deraadt@
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r--sys/scsi/scsiconf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 03b6a0ecaf2..3718c0e331c 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.171 2011/04/05 22:39:19 dlg Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.172 2011/04/06 13:33:46 dlg Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -768,7 +768,6 @@ scsibus_printlink(struct scsi_link *link)
printf(" %d/%s %s%s", type, dtype, removable ? "removable" : "fixed",
qtype);
-#if NMPATH > 0
if (link->id != NULL && link->id->d_type != DEVID_NONE) {
u_int8_t *id = (u_int8_t *)(link->id + 1);
int i;
@@ -802,7 +801,6 @@ scsibus_printlink(struct scsi_link *link)
printf("%02x", id[i]);
}
}
-#endif /* NMPATH > 0 */
}
/*