Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/7c6f8c19a73a
branches:  netbsd-8
changeset: 376554:7c6f8c19a73a
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Jun 21 21:19:38 2023 +0000

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

        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 c67915f1ca53 -r 7c6f8c19a73a sys/compat/netbsd32/netbsd32_nfssvc.c
--- a/sys/compat/netbsd32/netbsd32_nfssvc.c     Wed Jun 21 21:16:09 2023 +0000
+++ b/sys/compat/netbsd32/netbsd32_nfssvc.c     Wed Jun 21 21:19:38 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_nfssvc.c,v 1.5.8.1 2023/06/21 21:04:01 martin Exp $   */
+/*     $NetBSD: netbsd32_nfssvc.c,v 1.5.8.2 2023/06/21 21:19:38 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.5.8.1 2023/06/21 21:04:01 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_nfssvc.c,v 1.5.8.2 2023/06/21 21:19:38 martin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_nfs.h"
@@ -137,7 +137,7 @@ nfssvc32_nsd_out(void *argp, const struc
        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