diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/svr4/svr4_stat.c | 4 |
1 files 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; } |