Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat Make compat linux/linux32 msgrcv_msgarg type memb...



details:   https://anonhg.NetBSD.org/src/rev/5755090ae1dc
branches:  trunk
changeset: 749121:5755090ae1dc
user:      njoly <njoly%NetBSD.org@localhost>
date:      Wed Nov 18 15:19:24 2009 +0000

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

diffstat:

 sys/compat/linux/common/linux_msg.h         |  4 ++--
 sys/compat/linux32/common/linux32_ipccall.c |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 19b2613c4e16 -r 5755090ae1dc sys/compat/linux/common/linux_msg.h
--- a/sys/compat/linux/common/linux_msg.h       Wed Nov 18 12:29:22 2009 +0000
+++ b/sys/compat/linux/common/linux_msg.h       Wed Nov 18 15:19:24 2009 +0000
@@ -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.
diff -r 19b2613c4e16 -r 5755090ae1dc sys/compat/linux32/common/linux32_ipccall.c
--- a/sys/compat/linux32/common/linux32_ipccall.c       Wed Nov 18 12:29:22 2009 +0000
+++ b/sys/compat/linux32/common/linux32_ipccall.c       Wed Nov 18 15:19:24 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index