summaryrefslogtreecommitdiff
path: root/usr.sbin/rdate
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rdate')
-rw-r--r--usr.sbin/rdate/rdate.88
-rw-r--r--usr.sbin/rdate/rdate.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/rdate/rdate.8 b/usr.sbin/rdate/rdate.8
index 1492764717a..4d140d9dbf0 100644
--- a/usr.sbin/rdate/rdate.8
+++ b/usr.sbin/rdate/rdate.8
@@ -1,5 +1,5 @@
-.\" $OpenBSD: rdate.8,v 1.3 1996/03/25 15:56:09 niklas Exp $
-.\" $NetBSD: rdate.8,v 1.3 1996/02/22 06:59:17 thorpej Exp $
+.\" $OpenBSD: rdate.8,v 1.4 1996/04/21 23:41:41 deraadt Exp $
+.\" $NetBSD: rdate.8,v 1.4 1996/04/08 20:55:17 jtc Exp $
.\"
.\" Copyright (c) 1994 Christos Zoulas
.\" All rights reserved.
@@ -44,7 +44,7 @@
displays and sets the local date and time from the
host name or address given as the argument. It uses the RFC868
protocol which is usually implemented as a built-in service of
-.Xr inetd 1
+.Xr inetd 1 .
.Pp
Available options:
.Pp
@@ -59,5 +59,5 @@ Use the
call to gradually skew the local time to the
remote time rather than just hopping.
.Sh SEE ALSO
-.Xr inetd 1
+.Xr inetd 1 ,
.Xr adjtime 2
diff --git a/usr.sbin/rdate/rdate.c b/usr.sbin/rdate/rdate.c
index 77353e392fb..25e90fe7959 100644
--- a/usr.sbin/rdate/rdate.c
+++ b/usr.sbin/rdate/rdate.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: rdate.c,v 1.3 1996/03/25 15:56:10 niklas Exp $ */
-/* $NetBSD: rdate.c,v 1.3 1996/02/22 06:59:18 thorpej Exp $ */
+/* $OpenBSD: rdate.c,v 1.4 1996/04/21 23:41:42 deraadt Exp $ */
+/* $NetBSD: rdate.c,v 1.4 1996/03/16 12:37:45 pk Exp $ */
/*
* Copyright (c) 1994 Christos Zoulas
@@ -42,7 +42,7 @@
#if 0
from: static char rcsid[] = "$NetBSD: rdate.c,v 1.3 1996/02/22 06:59:18 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: rdate.c,v 1.3 1996/03/25 15:56:10 niklas Exp $";
+static char rcsid[] = "$OpenBSD: rdate.c,v 1.4 1996/04/21 23:41:42 deraadt Exp $";
#endif
#endif /* lint */
@@ -172,7 +172,7 @@ main(argc, argv)
if (slidetime)
(void) fprintf(stdout,
"%s: adjust local clock by %d seconds\n",
- adjustment);
+ __progname, adjustment);
}
return 0;
}