summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2009-05-15 16:59:07 +0000
committerpooka <pooka@NetBSD.org>2009-05-15 16:59:07 +0000
commitdfb36ab4e41be94d2e58e91009b910cedd61d93a (patch)
treef6357f2eb580c7fa492faa352bb8840ce43eb079 /sys/compat/linux
parent9060c64376995c3e6b31d7c126cd045e071c7146 (diff)
pad -> PAD
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/common/linux_file64.c8
-rw-r--r--sys/compat/linux/common/linux_misc.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/compat/linux/common/linux_file64.c b/sys/compat/linux/common/linux_file64.c
index a2b6ef3ce90..28cc79c2506 100644
--- a/sys/compat/linux/common/linux_file64.c
+++ b/sys/compat/linux/common/linux_file64.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_file64.c,v 1.48 2008/06/24 11:18:15 ad Exp $ */
+/* $NetBSD: linux_file64.c,v 1.49 2009/05/15 17:02:54 pooka Exp $ */
/*-
* Copyright (c) 1995, 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_file64.c,v 1.48 2008/06/24 11:18:15 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_file64.c,v 1.49 2009/05/15 17:02:54 pooka Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -181,7 +181,7 @@ linux_sys_truncate64(struct lwp *l, const struct linux_sys_truncate64_args *uap,
/* Linux doesn't have the 'pad' pseudo-parameter */
SCARG(&ta, path) = SCARG(uap, path);
- SCARG(&ta, pad) = 0;
+ SCARG(&ta, PAD) = 0;
SCARG(&ta, length) = SCARG(uap, length);
return sys_truncate(l, &ta, retval);
@@ -198,7 +198,7 @@ linux_sys_ftruncate64(struct lwp *l, const struct linux_sys_ftruncate64_args *ua
/* Linux doesn't have the 'pad' pseudo-parameter */
SCARG(&ta, fd) = SCARG(uap, fd);
- SCARG(&ta, pad) = 0;
+ SCARG(&ta, PAD) = 0;
SCARG(&ta, length) = SCARG(uap, length);
return sys_ftruncate(l, &ta, retval);
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c
index 566bd2ce954..3923a9cc549 100644
--- a/sys/compat/linux/common/linux_misc.c
+++ b/sys/compat/linux/common/linux_misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_misc.c,v 1.207 2009/03/29 19:21:19 christos Exp $ */
+/* $NetBSD: linux_misc.c,v 1.208 2009/05/15 17:02:54 pooka Exp $ */
/*-
* Copyright (c) 1995, 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.207 2009/03/29 19:21:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.208 2009/05/15 17:02:54 pooka Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -485,7 +485,7 @@ linux_to_bsd_mmap_args(struct sys_mmap_args *cma, const struct linux_sys_mmap_ar
SCARG(cma, prot) |= VM_PROT_READ;
SCARG(cma, flags) = flags;
SCARG(cma, fd) = flags & MAP_ANON ? -1 : SCARG(uap, fd);
- SCARG(cma, pad) = 0;
+ SCARG(cma, PAD) = 0;
}
#define LINUX_MREMAP_MAYMOVE 1