summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-18 22:24:29 +0000
committerMatt Wilson <msw@redhat.com>2000-07-18 22:24:29 +0000
commit28c1b29e83ed9e39be7343c16f1a41664cbfd40c (patch)
treee397351dd374eca645f868f1e8d1516974b8abd9 /isys
parente1b01ba94b36919acc469051ce350f0ba64eeff6 (diff)
downloadanaconda-28c1b29e83ed9e39be7343c16f1a41664cbfd40c.tar.gz
anaconda-28c1b29e83ed9e39be7343c16f1a41664cbfd40c.tar.xz
anaconda-28c1b29e83ed9e39be7343c16f1a41664cbfd40c.zip
change offset for blacklist
Diffstat (limited to 'isys')
-rw-r--r--isys/isys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isys/isys.c b/isys/isys.c
index 5e34740ce..12966a067 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -1279,8 +1279,8 @@ static PyObject * doIsScsiRemovable(PyObject * s, PyObject * args) {
if (inq.cmd[1] & (1 << 7)) {
/* XXX check the vendor, if it's DELL or HP it could be
an adaptec perc RAID (aacraid) device */
- if ((!strncmp (inq.cmd + 16, "DELL", 4))
- || (!strncmp (inq.cmd + 16, "HP", 2))) {
+ if ((!strncmp (inq.cmd + 8, "DELL", 4))
+ || (!strncmp (inq.cmd + 8, "HP", 2))) {
rc = 0;
}
rc = 1;