summaryrefslogtreecommitdiffstats
path: root/balkan
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-05-09 16:47:23 +0000
committerErik Troan <ewt@redhat.com>2000-05-09 16:47:23 +0000
commit5d0df8bd7431b6efbab9057e2d223def47240559 (patch)
tree15f9826d9c994bf30e56b6c22a53c314bb27d43f /balkan
parent606a714ddbd6b16d2b54a3c9a3ef5c9eea4013cf (diff)
downloadanaconda-5d0df8bd7431b6efbab9057e2d223def47240559.tar.gz
anaconda-5d0df8bd7431b6efbab9057e2d223def47240559.tar.xz
anaconda-5d0df8bd7431b6efbab9057e2d223def47240559.zip
use lseek64
Diffstat (limited to 'balkan')
-rw-r--r--balkan/dos.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/balkan/dos.c b/balkan/dos.c
index 666d1c0e2..e3297d25b 100644
--- a/balkan/dos.c
+++ b/balkan/dos.c
@@ -33,14 +33,12 @@ struct singlePartitionTable {
#define WINP_TYPE_EXTENDED 0xf
#define LINUX_TYPE_EXTENDED 0x85
-long long llseek(int fd, long long offset, int whence);
-
static int readSingleTable(int fd, struct singlePartitionTable * table,
long long partSector) {
unsigned char sector[SECTOR_SIZE];
unsigned short magic;
- if (llseek(fd, ((long long) SECTOR_SIZE * (long long) partSector),
+ if (lseek64(fd, ((long long) SECTOR_SIZE * (long long) partSector),
SEEK_SET) < 0)
return BALKAN_ERROR_ERRNO;