diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-01-12 06:55:24 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-01-12 06:55:24 +0000 |
commit | e1ca3df9bd4f231d8dc6c573f3b1223e6056b907 (patch) | |
tree | 1c1aed383c9d6adfb4fddb8ee1446a6975a70c31 /tools/xenpaging/file_ops.c | |
parent | 018d9dd53fa2c02b6ffcbb11cb01772ac63900ef (diff) | |
download | xen-e1ca3df9bd4f231d8dc6c573f3b1223e6056b907.tar.gz xen-e1ca3df9bd4f231d8dc6c573f3b1223e6056b907.tar.bz2 xen-e1ca3df9bd4f231d8dc6c573f3b1223e6056b907.zip |
tools: build fixes for NetBSD
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/xenpaging/file_ops.c')
-rw-r--r-- | tools/xenpaging/file_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenpaging/file_ops.c b/tools/xenpaging/file_ops.c index 0b90459de1..2d52827669 100644 --- a/tools/xenpaging/file_ops.c +++ b/tools/xenpaging/file_ops.c @@ -36,7 +36,7 @@ static int file_op(int fd, void *page, int i, int bytes; int ret; - seek_ret = lseek64(fd, i << PAGE_SHIFT, SEEK_SET); + seek_ret = lseek(fd, i << PAGE_SHIFT, SEEK_SET); total = 0; while ( total < PAGE_SIZE ) |