summaryrefslogtreecommitdiffstats
path: root/balkan/sun.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-10-23 03:24:53 +0000
committerJeremy Katz <katzj@redhat.com>2002-10-23 03:24:53 +0000
commit98c18f5a0a8a1ad9309307f0887aa96f6cc13094 (patch)
treefa920120d8f3e34fa2171f4cb0b90bd47acb423f /balkan/sun.c
parentaf446cc76efe837e4a3883b49c8fd6e9ec71b28b (diff)
downloadanaconda-98c18f5a0a8a1ad9309307f0887aa96f6cc13094.tar.gz
anaconda-98c18f5a0a8a1ad9309307f0887aa96f6cc13094.tar.xz
anaconda-98c18f5a0a8a1ad9309307f0887aa96f6cc13094.zip
* switch to always using lseek and build with -D_FILE_OFFSET_BITS=64
* fix warning from dos.h based on patch from Dan Burcaw (dburcaw@terrasoftsolutions.com)
Diffstat (limited to 'balkan/sun.c')
-rw-r--r--balkan/sun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/balkan/sun.c b/balkan/sun.c
index 29e8578f8..aaec233e0 100644
--- a/balkan/sun.c
+++ b/balkan/sun.c
@@ -99,7 +99,7 @@ int sunpReadTable(int fd, struct partitionTable * table) {
default:
if (table->parts[i].type != WHOLE_DISK &&
- lseek64(fd, (8192 + 0x55c + SECTOR_SIZE *
+ lseek(fd, (8192 + 0x55c + SECTOR_SIZE *
(off64_t) table->parts[i].startSector),
SEEK_SET) >= 0 &&
read(fd, &magic, 4) == 4 &&