Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/arm union was removed
details: https://anonhg.NetBSD.org/src/rev/806dda523652
branches: trunk
changeset: 359036:806dda523652
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 26 09:29:15 2018 +0000
description:
union was removed
diffstat:
sys/compat/linux/arch/arm/linux_ptrace.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 16906bd59702 -r 806dda523652 sys/compat/linux/arch/arm/linux_ptrace.c
--- a/sys/compat/linux/arch/arm/linux_ptrace.c Fri Jan 26 09:26:43 2018 +0000
+++ b/sys/compat/linux/arch/arm/linux_ptrace.c Fri Jan 26 09:29:15 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ptrace.c,v 1.20 2017/08/28 00:46:07 kamil Exp $ */
+/* $NetBSD: linux_ptrace.c,v 1.21 2018/01/26 09:29:15 christos Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.20 2017/08/28 00:46:07 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ptrace.c,v 1.21 2018/01/26 09:29:15 christos Exp $");
#include <sys/param.h>
#include <sys/mount.h>
@@ -206,7 +206,7 @@
case LINUX_PTRACE_GET_THREAD_AREA:
mutex_exit(t->p_lock);
pcb = lwp_getpcb(l);
- val = (void *)pcb->pcb_un.un_32.pcb32_user_pid_ro;
+ val = (void *)pcb->pcb_user_pid_ro;
error = copyout(&val, (void *)SCARG(uap, data), sizeof(val));
break;
#endif
Home |
Main Index |
Thread Index |
Old Index