diff options
author | dufault <dufault@FreeBSD.org> | 1995-03-15 14:44:01 +0000 |
---|---|---|
committer | dufault <dufault@FreeBSD.org> | 1995-03-15 14:44:01 +0000 |
commit | 45a99b7dba4084446f7e92a0550991ca33cab54d (patch) | |
tree | 77ed297c7a268ee4090d119506c8d7664e8eae4b /sys/scsi | |
parent | 0c96fcbafefb16916711a06b7329df97b5ef42b9 (diff) | |
download | FreeBSD-src-45a99b7dba4084446f7e92a0550991ca33cab54d.zip FreeBSD-src-45a99b7dba4084446f7e92a0550991ca33cab54d.tar.gz |
Change it so it doesn't say "probe0" for SCSI probe "device".
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/scsi_base.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index 954e4cc..5e50f7a 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -8,7 +8,7 @@ * file. * * Written by Julian Elischer (julian@dialix.oz.au) - * $Id: scsi_base.c,v 1.21 1995/03/04 20:50:49 dufault Exp $ + * $Id: scsi_base.c,v 1.22 1995/03/15 14:22:05 dufault Exp $ */ #define SPLSD splbio @@ -1007,10 +1007,11 @@ void sc_print_addr(sc_link) struct scsi_link *sc_link; { + if (strcmp(sc_link->device->name, "probe") != 0) + printf("%s%d", sc_link->device->name, sc_link->dev_unit); - printf("%s%d(%s%d:%d:%d): ", sc_link->device->name, sc_link->dev_unit, - sc_link->adapter->name, sc_link->adapter_unit, - sc_link->target, sc_link->lun); + printf("(%s%d:%d:%d): ", sc_link->adapter->name, sc_link->adapter_unit, + sc_link->target, sc_link->lun); } #ifdef SCSIDEBUG /* |