summaryrefslogtreecommitdiffstats
path: root/loader/modules.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-10-19 20:10:21 +0000
committerJeremy Katz <katzj@redhat.com>2001-10-19 20:10:21 +0000
commit366160ea2049a05dea34cf0de3ebc4779009e556 (patch)
tree326a15d49280c1bcd0694c412fc7e9dac417fda4 /loader/modules.c
parent91eb1890711f7c3774e8f2a9a40145cd4cde623e (diff)
downloadanaconda-366160ea2049a05dea34cf0de3ebc4779009e556.tar.gz
anaconda-366160ea2049a05dea34cf0de3ebc4779009e556.tar.xz
anaconda-366160ea2049a05dea34cf0de3ebc4779009e556.zip
merge fix from 7-2-branch
Diffstat (limited to 'loader/modules.c')
-rw-r--r--loader/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/modules.c b/loader/modules.c
index 57c040a8e..036a7b03d 100644
--- a/loader/modules.c
+++ b/loader/modules.c
@@ -64,7 +64,7 @@ static int scsiCount(void) {
if (!f)
return 0;
while (fgets(buf, sizeof(buf) - 1, f)) {
- if (!strncmp(buf, "scsi_hostadapter", 16))
+ if (!strncmp(buf, "alias scsi_hostadapter", 22))
count++;
}
fclose(f);