summaryrefslogtreecommitdiffstats
path: root/bin/date
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-02-05 12:56:40 +0000
committercharnier <charnier@FreeBSD.org>2003-02-05 12:56:40 +0000
commit712128a7b6ee03618dfca169550cd20d72c27394 (patch)
treeefa4e91bf3277e800341e4a97a82cf4d74c5e36a /bin/date
parentb5f68d479655657cfc5303a5d8bb59bf0ce5924e (diff)
downloadFreeBSD-src-712128a7b6ee03618dfca169550cd20d72c27394.zip
FreeBSD-src-712128a7b6ee03618dfca169550cd20d72c27394.tar.gz
Enclose sccsid according to style(9).
udp/timed -> timed/udp
Diffstat (limited to 'bin/date')
-rw-r--r--bin/date/date.c5
-rw-r--r--bin/date/netdate.c7
2 files changed, 7 insertions, 5 deletions
diff --git a/bin/date/date.c b/bin/date/date.c
index d825631..725a435 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -37,11 +37,12 @@ static char const copyright[] =
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
-#ifndef lint
#if 0
+#ifndef lint
static char sccsid[] = "@(#)date.c 8.2 (Berkeley) 4/28/95";
-#endif
#endif /* not lint */
+#endif
+
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/bin/date/netdate.c b/bin/date/netdate.c
index 0a67ade..92bb41f 100644
--- a/bin/date/netdate.c
+++ b/bin/date/netdate.c
@@ -31,11 +31,12 @@
* SUCH DAMAGE.
*/
-#ifndef lint
#if 0
+#ifndef lint
static char sccsid[] = "@(#)netdate.c 8.1 (Berkeley) 5/31/93";
-#endif
#endif /* not lint */
+#endif
+
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -81,7 +82,7 @@ netsettime(time_t tval)
char hostname[MAXHOSTNAMELEN];
if ((sp = getservbyname("timed", "udp")) == NULL) {
- warnx("udp/timed: unknown service");
+ warnx("timed/udp: unknown service");
return (retval = 2);
}
OpenPOWER on IntegriCloud