Module Name:    src
Committed By:   njoly
Date:           Wed Nov 18 15:19:24 UTC 2009

Modified Files:
        src/sys/compat/linux/common: linux_msg.h
        src/sys/compat/linux32/common: linux32_ipccall.c

Log Message:
Make compat linux/linux32 msgrcv_msgarg type member of type
long/netbsd32_long to match linux definition.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/compat/linux/common/linux_msg.h
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux32/common/linux32_ipccall.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_msg.h
diff -u src/sys/compat/linux/common/linux_msg.h:1.12 src/sys/compat/linux/common/linux_msg.h:1.13
--- src/sys/compat/linux/common/linux_msg.h:1.12	Tue Dec  9 11:09:11 2008
+++ src/sys/compat/linux/common/linux_msg.h	Wed Nov 18 15:19:24 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_msg.h,v 1.12 2008/12/09 11:09:11 njoly Exp $	*/
+/*	$NetBSD: linux_msg.h,v 1.13 2009/11/18 15:19:24 njoly Exp $	*/
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
  */
 struct linux_msgrcv_msgarg {
 	struct linux_mymsg *msg;
-	int type;
+	long type;
 };
 /*
  * For msgctl calls.

Index: src/sys/compat/linux32/common/linux32_ipccall.c
diff -u src/sys/compat/linux32/common/linux32_ipccall.c:1.8 src/sys/compat/linux32/common/linux32_ipccall.c:1.9
--- src/sys/compat/linux32/common/linux32_ipccall.c:1.8	Wed Nov 18 12:27:58 2009
+++ src/sys/compat/linux32/common/linux32_ipccall.c	Wed Nov 18 15:19:24 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_ipccall.c,v 1.8 2009/11/18 12:27:58 njoly Exp $ */
+/* $NetBSD: linux32_ipccall.c,v 1.9 2009/11/18 15:19:24 njoly Exp $ */
 
 /*
  * Copyright (c) 2008 Nicolas Joly
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_ipccall.c,v 1.8 2009/11/18 12:27:58 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_ipccall.c,v 1.9 2009/11/18 15:19:24 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -386,7 +386,7 @@
  */
 struct linux32_msgrcv_msgarg {
 	netbsd32_pointer_t msg;
-	int type;
+	netbsd32_long type;
 };
 
 static int

Reply via email to