diff options
| author | Philippe Charnier <charnier@FreeBSD.org> | 2003-02-05 12:56:40 +0000 |
|---|---|---|
| committer | Philippe Charnier <charnier@FreeBSD.org> | 2003-02-05 12:56:40 +0000 |
| commit | e869e5070444920bc846b5936bd0d9584eb56ea6 (patch) | |
| tree | efa4e91bf3277e800341e4a97a82cf4d74c5e36a /bin | |
| parent | d417ef4a71bf1b2cfcc51f81c3a28ab558aefca6 (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/date/date.c | 5 | ||||
| -rw-r--r-- | bin/date/netdate.c | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/bin/date/date.c b/bin/date/date.c index d82563197d23..725a435836f3 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 0a67adec274e..92bb41f0c626 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); } |
