aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/linux32
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2007-07-04 23:06:43 +0000
committerPeter Wemm <peter@FreeBSD.org>2007-07-04 23:06:43 +0000
commit79d5bdcca56c2af5a283e608e763a540c4f9e57a (patch)
tree9408818773e90c44481819af06a368ea9979e198 /sys/amd64/linux32
parent5aa69f9c72ce7646c2964599f4a5c43c18543fc7 (diff)
downloadsrc-79d5bdcca56c2af5a283e608e763a540c4f9e57a.tar.gz
src-79d5bdcca56c2af5a283e608e763a540c4f9e57a.zip
Don't add the 'pad' argument to the mmap/truncate/etc syscalls.
Submitted by: kensmith Approved by: re (kensmith)
Notes
Notes: svn path=/head/; revision=171216
Diffstat (limited to 'sys/amd64/linux32')
-rw-r--r--sys/amd64/linux32/linux32_machdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c
index 9983e1fcd6fa..7a7ce0801040 100644
--- a/sys/amd64/linux32/linux32_machdep.c
+++ b/sys/amd64/linux32/linux32_machdep.c
@@ -927,7 +927,6 @@ linux_mmap_common(struct thread *td, struct l_mmap_argv *linux_args)
bsd_args.len = linux_args->len;
}
bsd_args.pos = (off_t)linux_args->pgoff * PAGE_SIZE;
- bsd_args.pad = 0;
#ifdef DEBUG
if (ldebug(mmap))
@@ -1153,7 +1152,6 @@ linux_ftruncate64(struct thread *td, struct linux_ftruncate64_args *args)
#endif
sa.fd = args->fd;
- sa.pad = 0;
sa.length = args->length;
return ftruncate(td, &sa);
}