aboutsummaryrefslogtreecommitdiff
path: root/gdb/vx-share/xdr_ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/vx-share/xdr_ptrace.c')
-rw-r--r--gdb/vx-share/xdr_ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/vx-share/xdr_ptrace.c b/gdb/vx-share/xdr_ptrace.c
index 6c9c8a2..fff4324 100644
--- a/gdb/vx-share/xdr_ptrace.c
+++ b/gdb/vx-share/xdr_ptrace.c
@@ -109,7 +109,7 @@ bool_t xdr_ptrace_return(xdrs, objp)
{
if (! xdr_int(xdrs, &objp->status))
return(FALSE);
- if (! xdr_int(xdrs, &objp->errno))
+ if (! xdr_int(xdrs, &objp->errno_num))
return(FALSE);
if (! xdr_ptrace_info(xdrs, &objp->info))
return(FALSE);