summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/timed/timed/master.c6
-rw-r--r--usr.sbin/timed/timed/slave.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/timed/timed/master.c b/usr.sbin/timed/timed/master.c
index 51f8f407306..0a5a60b5d36 100644
--- a/usr.sbin/timed/timed/master.c
+++ b/usr.sbin/timed/timed/master.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: master.c,v 1.3 1996/07/28 06:04:09 downsj Exp $ */
+
/*-
* Copyright (c) 1985, 1993 The Regents of the University of California.
* All rights reserved.
@@ -36,7 +38,7 @@ static char sccsid[] = "@(#)master.c 5.1 (Berkeley) 5/11/93";
#endif /* not lint */
#ifdef sgi
-#ident "$Revision: 1.2 $"
+#ident "$Revision: 1.3 $"
#endif
#include "globals.h"
@@ -397,7 +399,7 @@ mchgdate(struct tsp *msg)
tmptv.tv_sec = msg->tsp_time.tv_sec;
tmptv.tv_usec = msg->tsp_time.tv_usec;
(void)settimeofday(&tmptv, 0);
- logwtmp("}", "date", "");
+ logwtmp("{", "date", "");
#endif /* sgi */
spreadtime();
}
diff --git a/usr.sbin/timed/timed/slave.c b/usr.sbin/timed/timed/slave.c
index 6076a94f483..331da53706d 100644
--- a/usr.sbin/timed/timed/slave.c
+++ b/usr.sbin/timed/timed/slave.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: slave.c,v 1.3 1996/07/28 06:04:10 downsj Exp $ */
+
/*-
* Copyright (c) 1985, 1993 The Regents of the University of California.
* All rights reserved.
@@ -36,7 +38,7 @@ static char sccsid[] = "@(#)slave.c 5.1 (Berkeley) 5/11/93";
#endif /* not lint */
#ifdef sgi
-#ident "$Revision: 1.2 $"
+#ident "$Revision: 1.3 $"
#endif
#include "globals.h"
@@ -298,7 +300,7 @@ loop:
tmptv.tv_sec = msg->tsp_time.tv_sec;
tmptv.tv_usec = msg->tsp_time.tv_usec;
(void)settimeofday(&tmptv, 0);
- logwtmp("}", "date", "");
+ logwtmp("{", "date", "");
#endif /* sgi */
syslog(LOG_NOTICE,
"date changed by %s from %s",