Fix bug in netbsd32_compat_43_olseek return value.

This commit is contained in:
eeh 2001-08-15 05:16:59 +00:00
parent 84958ed05f
commit 16b1f7aae0

View File

@ -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);
}