diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-02-11 11:42:18 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-02-11 11:42:18 +0000 |
commit | 301625ba50094208e1d5bd3f0c42d6df775dec26 (patch) | |
tree | 9024236879ee98044e051ca66b517a7cc4be7170 /sys/dev/pci/ips.c | |
parent | 00c19d9e3106230792e1c08478b0b65a2694b329 (diff) |
Prettier fake scsi inquiry ascii strings.
Diffstat (limited to 'sys/dev/pci/ips.c')
-rw-r--r-- | sys/dev/pci/ips.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c index f539d83b7c1..76526466128 100644 --- a/sys/dev/pci/ips.c +++ b/sys/dev/pci/ips.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ips.c,v 1.43 2009/02/11 08:41:36 grange Exp $ */ +/* $OpenBSD: ips.c,v 1.44 2009/02/11 11:42:17 grange Exp $ */ /* * Copyright (c) 2006, 2007, 2009 Alexander Yurchenko <grange@openbsd.org> @@ -688,10 +688,10 @@ ips_scsi_cmd(struct scsi_xfer *xs) id->version = 2; id->response_format = 2; id->additional_length = 32; - strlcpy(id->vendor, "IBM ", sizeof(id->vendor)); + strlcpy(id->vendor, "IBM", sizeof(id->vendor)); snprintf(id->product, sizeof(id->product), - "ServeRAID RAID%d #%02d", drive->raid, target); - strlcpy(id->revision, " ", sizeof(id->revision)); + "RAID%d #%02d", drive->raid, target); + strlcpy(id->revision, "1.0", sizeof(id->revision)); break; case READ_CAPACITY: rcd = (void *)xs->data; |