diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-08-31 12:34:40 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-08-31 12:34:40 +0000 |
commit | 1328da2283b759b4caa1fc12085179e869ca44aa (patch) | |
tree | 31910049afd5bc876bda33799c342c952b5027b2 /sys/dev/ic | |
parent | 95eec87332cd33045f6f61219c105f26bb8b2d59 (diff) |
Prerrt print volume nr in dmesg.
ok mickey, deraadt, krw
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/cac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/cac.c b/sys/dev/ic/cac.c index d6dcfeb5f2a..d7e3bcc8c89 100644 --- a/sys/dev/ic/cac.c +++ b/sys/dev/ic/cac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cac.c,v 1.21 2005/12/03 16:53:15 krw Exp $ */ +/* $OpenBSD: cac.c,v 1.22 2006/08/31 12:34:39 marco Exp $ */ /* $NetBSD: cac.c,v 1.15 2000/11/08 19:20:35 ad Exp $ */ /* @@ -613,7 +613,7 @@ cac_scsi_cmd(xs) case 3: p = "RAID5"; break; default:p = "<UNK>"; break; } - snprintf(inq.product, sizeof inq.product, "%s volume #%02d", + snprintf(inq.product, sizeof inq.product, "%s vol #%02d", p, target); strlcpy(inq.revision, " ", sizeof inq.revision); cac_copy_internal_data(xs, &inq, sizeof inq); |