summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-08-31 03:13:43 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-08-31 03:13:43 +0000
commit16f956372235e6e83ed405b04b8c8d14deecef50 (patch)
tree348d7b97a16804ca241e1f70b66b3a68393df374
parentcd193d3219845d891739bea44b923714d89b98f6 (diff)
some knf
-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;