summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1998-02-09 04:32:13 +0000
committertholo <tholo@openbsd.org>1998-02-09 04:32:13 +0000
commit4aabe37cbc7ea3d77f50e4f1160656063bc713d3 (patch)
treee357da15531ed59347f7ac7acce4fd7e38f3e857
parentBetter lint(1) framework. Mostly from cgd@NetBSD (diff)
downloadwireguard-openbsd-4aabe37cbc7ea3d77f50e4f1160656063bc713d3.tar.xz
wireguard-openbsd-4aabe37cbc7ea3d77f50e4f1160656063bc713d3.zip
Missed one
-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;
}