From 16b1f7aae0b7b3180a792a8e6148edde6aea0050 Mon Sep 17 00:00:00 2001 From: eeh Date: Wed, 15 Aug 2001 05:16:59 +0000 Subject: [PATCH] Fix bug in netbsd32_compat_43_olseek return value. --- sys/compat/netbsd32/netbsd32_compat_43.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/netbsd32/netbsd32_compat_43.c b/sys/compat/netbsd32/netbsd32_compat_43.c index d169a7e87f41..1ed74b71a361 100644 --- a/sys/compat/netbsd32/netbsd32_compat_43.c +++ b/sys/compat/netbsd32/netbsd32_compat_43.c @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_compat_43.c,v 1.17 2001/05/30 11:37:28 mrg Exp $ */ +/* $NetBSD: netbsd32_compat_43.c,v 1.18 2001/08/15 05:16:59 eeh Exp $ */ /* * Copyright (c) 1998 Matthew R. Green @@ -122,7 +122,7 @@ compat_43_netbsd32_olseek(p, v, retval) NETBSD32TOX_UAP(offset, long); NETBSD32TO64_UAP(whence); rv = sys_lseek(p, &ua, (register_t *)&rt); - *(netbsd32_long *)retval = rt; + *retval = rt; return (rv); }