From 2c369c98edb51dcd0a581ede72eade782fd51d4a Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Mon, 9 Feb 1998 04:32:14 +0000 Subject: Missed one --- sys/compat/svr4/svr4_stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/svr4/svr4_stat.c b/sys/compat/svr4/svr4_stat.c index fb083df2f1b..a00b1e28814 100644 --- a/sys/compat/svr4/svr4_stat.c +++ b/sys/compat/svr4/svr4_stat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_stat.c,v 1.10 1997/11/13 06:16:27 deraadt Exp $ */ +/* $OpenBSD: svr4_stat.c,v 1.11 1998/02/09 04:32:13 tholo Exp $ */ /* $NetBSD: svr4_stat.c,v 1.21 1996/04/22 01:16:07 christos Exp $ */ /* @@ -577,7 +577,7 @@ svr4_sys_utime(p, v, retval) tbuf[1].tv_sec = ub.modtime; tbuf[1].tv_usec = 0; SCARG(&ap, tptr) = stackgap_alloc(&sg, sizeof(tbuf)); - error = copyout(tbuf, SCARG(&ap, tptr), sizeof(tbuf)); + error = copyout(tbuf, (struct timeval *)SCARG(&ap, tptr), sizeof(tbuf)); if (error) return error; } -- cgit v1.2.3