summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/dev/clock.c')
-rw-r--r--sys/arch/hppa/dev/clock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/dev/clock.c b/sys/arch/hppa/dev/clock.c
index fe429828ea8..b0cb32437a4 100644
--- a/sys/arch/hppa/dev/clock.c
+++ b/sys/arch/hppa/dev/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.9 2000/03/29 23:11:06 mickey Exp $ */
+/* $OpenBSD: clock.c,v 1.10 2001/08/31 03:13:42 mickey Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
@@ -119,8 +119,8 @@ inittodr(t)
if (dt < 2 * SECDAY)
return;
- printf ("WARNING: clock %s %d days",
- time.tv_sec < t? "lost" : "gained", dt / SECDAY);
+ printf("WARNING: clock %s %d days",
+ time.tv_sec < t? "lost" : "gained", dt / SECDAY);
}
printf (" -- CHECK AND RESET THE DATE!\n");
@@ -132,7 +132,7 @@ inittodr(t)
void
resettodr()
{
- static struct pdc_tod tod;
+ struct pdc_tod tod PDC_ALIGNMENT;
tod.sec = time.tv_sec;
tod.usec = time.tv_usec;