diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-02-11 07:11:52 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-02-11 07:11:52 +0000 |
commit | 8c8a1a7ac45c0b09809b436b3be23383fb1a11f7 (patch) | |
tree | 850e13a2cd8d0591171a371dbd1b1f7a3afedd63 | |
parent | 9c2eeea584fa118de4b06bd3462f58f1238caa8e (diff) | |
download | anaconda-8c8a1a7ac45c0b09809b436b3be23383fb1a11f7.tar.gz anaconda-8c8a1a7ac45c0b09809b436b3be23383fb1a11f7.tar.xz anaconda-8c8a1a7ac45c0b09809b436b3be23383fb1a11f7.zip |
actually stat the file so that we have something sane to look at for the
size (part of #80047 still not working)
-rw-r--r-- | loader2/driverdisk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader2/driverdisk.c b/loader2/driverdisk.c index 99d514fba..f30be820c 100644 --- a/loader2/driverdisk.c +++ b/loader2/driverdisk.c @@ -76,6 +76,7 @@ static int loadDriverDisk(moduleInfoSet modInfo, moduleList modLoaded, int fd; sprintf(file, "%s/rhdd-6.1", mntpt); + stat(file, &sb); title = malloc(sb.st_size + 1); fd = open(file, O_RDONLY); |