Module Name: src Committed By: njoly Date: Mon May 18 12:39:02 UTC 2009
Modified Files: src/sys/compat/osf1: osf1_descrip.c osf1_file.c osf1_mmap.c Log Message: Adjust compat osf1 to recent pad -> PAD change. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/compat/osf1/osf1_descrip.c cvs rdiff -u -r1.32 -r1.33 src/sys/compat/osf1/osf1_file.c cvs rdiff -u -r1.13 -r1.14 src/sys/compat/osf1/osf1_mmap.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/osf1/osf1_descrip.c diff -u src/sys/compat/osf1/osf1_descrip.c:1.27 src/sys/compat/osf1/osf1_descrip.c:1.28 --- src/sys/compat/osf1/osf1_descrip.c:1.27 Mon Jan 26 13:00:05 2009 +++ src/sys/compat/osf1/osf1_descrip.c Mon May 18 12:39:02 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: osf1_descrip.c,v 1.27 2009/01/26 13:00:05 njoly Exp $ */ +/* $NetBSD: osf1_descrip.c,v 1.28 2009/05/18 12:39:02 njoly Exp $ */ /* * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved. @@ -58,7 +58,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: osf1_descrip.c,v 1.27 2009/01/26 13:00:05 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: osf1_descrip.c,v 1.28 2009/05/18 12:39:02 njoly Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -252,7 +252,7 @@ struct sys_ftruncate_args a; SCARG(&a, fd) = SCARG(uap, fd); - SCARG(&a, pad) = 0; + SCARG(&a, PAD) = 0; SCARG(&a, length) = SCARG(uap, length); return sys_ftruncate(l, &a, retval); @@ -264,7 +264,7 @@ struct sys_lseek_args a; SCARG(&a, fd) = SCARG(uap, fd); - SCARG(&a, pad) = 0; + SCARG(&a, PAD) = 0; SCARG(&a, offset) = SCARG(uap, offset); SCARG(&a, whence) = SCARG(uap, whence); Index: src/sys/compat/osf1/osf1_file.c diff -u src/sys/compat/osf1/osf1_file.c:1.32 src/sys/compat/osf1/osf1_file.c:1.33 --- src/sys/compat/osf1/osf1_file.c:1.32 Tue Jan 13 11:35:24 2009 +++ src/sys/compat/osf1/osf1_file.c Mon May 18 12:39:02 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: osf1_file.c,v 1.32 2009/01/13 11:35:24 rtr Exp $ */ +/* $NetBSD: osf1_file.c,v 1.33 2009/05/18 12:39:02 njoly Exp $ */ /* * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved. @@ -58,7 +58,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: osf1_file.c,v 1.32 2009/01/13 11:35:24 rtr Exp $"); +__KERNEL_RCSID(0, "$NetBSD: osf1_file.c,v 1.33 2009/05/18 12:39:02 njoly Exp $"); #if defined(_KERNEL_OPT) #include "opt_syscall_debug.h" @@ -387,7 +387,7 @@ struct sys_truncate_args a; SCARG(&a, path) = SCARG(uap, path); - SCARG(&a, pad) = 0; + SCARG(&a, PAD) = 0; SCARG(&a, length) = SCARG(uap, length); return sys_truncate(l, &a, retval); Index: src/sys/compat/osf1/osf1_mmap.c diff -u src/sys/compat/osf1/osf1_mmap.c:1.13 src/sys/compat/osf1/osf1_mmap.c:1.14 --- src/sys/compat/osf1/osf1_mmap.c:1.13 Thu Dec 20 23:03:03 2007 +++ src/sys/compat/osf1/osf1_mmap.c Mon May 18 12:39:02 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: osf1_mmap.c,v 1.13 2007/12/20 23:03:03 dsl Exp $ */ +/* $NetBSD: osf1_mmap.c,v 1.14 2009/05/18 12:39:02 njoly Exp $ */ /* * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: osf1_mmap.c,v 1.13 2007/12/20 23:03:03 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: osf1_mmap.c,v 1.14 2009/05/18 12:39:02 njoly Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -117,7 +117,7 @@ SCARG(&a, addr) = SCARG(uap, addr); SCARG(&a, len) = SCARG(uap, len); SCARG(&a, fd) = SCARG(uap, fd); - SCARG(&a, pad) = 0; + SCARG(&a, PAD) = 0; SCARG(&a, pos) = SCARG(uap, pos); /* translate prot */