summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Guy <alexander@cvs.openbsd.org>2004-06-05 19:18:57 +0000
committerAlexander Guy <alexander@cvs.openbsd.org>2004-06-05 19:18:57 +0000
commitc4f818539a535a13e53548c0b66e0886a42e4d2c (patch)
tree6b81a71d9f29db3be3d15cf9778881310c3cd9f7
parent509d406ce7860b9de6425ef24984a556c114d1f6 (diff)
Typo correction, and consistency changes.
ok jakob@, henning@
-rw-r--r--usr.sbin/rdate/ntp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rdate/ntp.c b/usr.sbin/rdate/ntp.c
index 3879db41668..9479f7c1548 100644
--- a/usr.sbin/rdate/ntp.c
+++ b/usr.sbin/rdate/ntp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntp.c,v 1.19 2004/05/30 22:57:42 deraadt Exp $ */
+/* $OpenBSD: ntp.c,v 1.20 2004/06/05 19:18:56 alexander Exp $ */
/*
* Copyright (c) 1996, 1997 by N.M. Maclaren. All rights reserved.
@@ -328,14 +328,14 @@ retry:
}
if (length < NTP_PACKET_MIN || length > NTP_PACKET_MAX) {
- warnx("Invalid NTP packet size, packet reject");
+ warnx("Invalid NTP packet size, packet rejected");
return 1;
}
unpack_ntp(data, receive, length);
if (data->recvck != data->xmitck) {
- warnx("Invalid cookie received");
+ warnx("Invalid cookie received, packet rejected");
return 1;
}
@@ -351,7 +351,7 @@ retry:
}
if (data->status == STATUS_ALARM) {
- warnx("Server clock not syncronized, packet rejected");
+ warnx("Server clock not synchronized, packet rejected");
return 1;
}