summaryrefslogtreecommitdiff
path: root/sys/compat/svr4
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1998-02-09 04:32:14 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1998-02-09 04:32:14 +0000
commit2c369c98edb51dcd0a581ede72eade782fd51d4a (patch)
tree4314d8474b2411697b88ff71a9c25a12908e4b71 /sys/compat/svr4
parentf9d3835e37ef52edc81ab34243babdcdc2369783 (diff)
Missed one
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r--sys/compat/svr4/svr4_stat.c4
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;
}