diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-07-20 22:40:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-07-20 22:40:54 +0000 |
commit | 1e280472fdab2b660fbb0e7d0ccb93287c7daed4 (patch) | |
tree | a8dc5867f63f2dac3ee7abd8de577b9ad41727a9 /sys/kern | |
parent | e0a1a310aa15e53f8698f2aaa222e889a3ca55ac (diff) |
ramdisks got broken by that last diff.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_tc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index a7cf9cdaa62..025db8384c2 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_tc.c,v 1.67 2020/07/20 21:51:34 cheloha Exp $ */ +/* $OpenBSD: kern_tc.c,v 1.68 2020/07/20 22:40:53 deraadt Exp $ */ /* * Copyright (c) 2000 Poul-Henning Kamp <phk@FreeBSD.org> @@ -475,10 +475,11 @@ tc_setrealtimeclock(const struct timespec *ts) void tc_setclock(const struct timespec *ts) { - struct bintime elapsed, naptime, old_naptime, uptime, utc; + struct bintime naptime, old_naptime, uptime, utc; struct timespec tmp; static int first = 1; #ifndef SMALL_KERNEL + struct bintime elapsed; long long adj_ticks; #endif |