Module Name: src
Committed By: pooka
Date: Fri May 15 17:02:54 UTC 2009
Modified Files:
src/sys/compat/linux/common: linux_file64.c linux_misc.c
Log Message:
pad -> PAD
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/compat/linux/common/linux_file64.c
cvs rdiff -u -r1.207 -r1.208 src/sys/compat/linux/common/linux_misc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/linux/common/linux_file64.c
diff -u src/sys/compat/linux/common/linux_file64.c:1.48 src/sys/compat/linux/common/linux_file64.c:1.49
--- src/sys/compat/linux/common/linux_file64.c:1.48 Tue Jun 24 11:18:15 2008
+++ src/sys/compat/linux/common/linux_file64.c Fri May 15 17:02:54 2009
@@ -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 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 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);
Index: src/sys/compat/linux/common/linux_misc.c
diff -u src/sys/compat/linux/common/linux_misc.c:1.207 src/sys/compat/linux/common/linux_misc.c:1.208
--- src/sys/compat/linux/common/linux_misc.c:1.207 Sun Mar 29 19:21:19 2009
+++ src/sys/compat/linux/common/linux_misc.c Fri May 15 17:02:54 2009
@@ -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 @@
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