Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 compat_netbsd32: Copy out 32-bit version...



details:   https://anonhg.NetBSD.org/src/rev/515edb7de9c2
branches:  trunk
changeset: 1023227:515edb7de9c2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 30 08:39:24 2021 +0000

description:
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 32626876a2f9 -r 515edb7de9c2 sys/compat/netbsd32/netbsd32_nfssvc.c
--- a/sys/compat/netbsd32/netbsd32_nfssvc.c     Mon Aug 30 08:21:12 2021 +0000
+++ b/sys/compat/netbsd32/netbsd32_nfssvc.c     Mon Aug 30 08:39:24 2021 +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.7 2021/08/30 08:39:24 riastradh 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.7 2021/08/30 08:39:24 riastradh 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