summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-06 19:21:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-06 19:21:35 +0000
commitd25acd1467b0bb2fb7170b047b71b19444653d36 (patch)
tree763b8475fa7a3d9743286dc8b8e94391c3a65a3d /sys
parent42bda9364dcd7badc52dbf9bcdc900443d0b80f6 (diff)
-Wall sucks
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c
index 299f0d74a32..801933e4a0c 100644
--- a/sys/kern/kern_time.c
+++ b/sys/kern/kern_time.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_time.c,v 1.13 1999/06/06 19:15:03 deraadt Exp $ */
+/* $OpenBSD: kern_time.c,v 1.14 1999/06/06 19:21:34 deraadt Exp $ */
/* $NetBSD: kern_time.c,v 1.20 1996/02/18 11:57:06 fvdl Exp $ */
/*
@@ -368,8 +368,8 @@ sys_adjtime(p, v, retval)
if (SCARG(uap, olddelta)) {
atv.tv_sec = odelta / 1000000;
atv.tv_usec = odelta % 1000000;
- if (error = copyout((void *)&atv, (void *)SCARG(uap, olddelta),
- sizeof(struct timeval)))
+ if ((error = copyout((void *)&atv, (void *)SCARG(uap, olddelta),
+ sizeof(struct timeval))))
return (error);
}
return (0);