Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/compat/netbsd32 Pull up following revision(s) (reques...



details:   https://anonhg.NetBSD.org/src/rev/d30974aad2cb
branches:  netbsd-9
changeset: 368768:d30974aad2cb
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Aug 03 10:58:58 2022 +0000

description:
Pull up following revision(s) (requested by riastradh in ticket #1486):

        sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.7

compat_netbsd32: Copy out 32-bit version in nfssvc32_nsd_out.

diffstat:

 sys/compat/netbsd32/netbsd32_nfssvc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 78759ecca11c -r d30974aad2cb sys/compat/netbsd32/netbsd32_nfssvc.c
--- a/sys/compat/netbsd32/netbsd32_nfssvc.c     Wed Aug 03 10:55:44 2022 +0000
+++ b/sys/compat/netbsd32/netbsd32_nfssvc.c     Wed Aug 03 10:58:58 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_nfssvc.c,v 1.6 2019/01/27 02:08:40 pgoyette Exp $     */
+/*     $NetBSD: netbsd32_nfssvc.c,v 1.6.4.1 2022/08/03 10:58:58 martin Exp $   */
 
 /*
  * Copyright (c) 2015 Matthew R. Green
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_nfssvc.c,v 1.6 2019/01/27 02:08:40 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_nfssvc.c,v 1.6.4.1 2022/08/03 10:58:58 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_nfs.h"
@@ -134,7 +134,7 @@
        args32.nsd_key[0] = nsd->nsd_key[0];
        args32.nsd_key[1] = nsd->nsd_key[1];
 
-       return copyout(nsd, argp, sizeof *nsd);
+       return copyout(&args32, argp, sizeof args32);
 }
 
 static int



Home | Main Index | Thread Index | Old Index