summaryrefslogtreecommitdiffstats
path: root/usr.bin/csup/auth.c
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2011-09-13 20:35:34 +0000
committerbrueffer <brueffer@FreeBSD.org>2011-09-13 20:35:34 +0000
commitd35d0d3c95dfa04aa8c0a53cc36c0491dd9f4f18 (patch)
tree76c551f534db83528b863e1101989e77f649f707 /usr.bin/csup/auth.c
parenta77e217ce23c4d832a645ca1ea2d6db5938187b9 (diff)
downloadFreeBSD-src-d35d0d3c95dfa04aa8c0a53cc36c0491dd9f4f18.zip
FreeBSD-src-d35d0d3c95dfa04aa8c0a53cc36c0491dd9f4f18.tar.gz
Fix typos in error messages.
Found by: kib Approved by: re (kib) MFC after: 1 week
Diffstat (limited to 'usr.bin/csup/auth.c')
-rw-r--r--usr.bin/csup/auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/csup/auth.c b/usr.bin/csup/auth.c
index d690f9b..f24cd00 100644
--- a/usr.bin/csup/auth.c
+++ b/usr.bin/csup/auth.c
@@ -188,7 +188,7 @@ auth_lookuprecord(char *server, struct srvrecord *auth)
error = auth_parsetoken(&line, auth->server,
sizeof(auth->server));
if (error != STATUS_SUCCESS) {
- lprintf(-1, "%s:%d Missng client name\n", authfile, linenum);
+ lprintf(-1, "%s:%d Missing client name\n", authfile, linenum);
goto close;
}
/* Skip the rest of this line, it isn't what we are looking for. */
@@ -197,13 +197,13 @@ auth_lookuprecord(char *server, struct srvrecord *auth)
error = auth_parsetoken(&line, auth->client,
sizeof(auth->client));
if (error != STATUS_SUCCESS) {
- lprintf(-1, "%s:%d Missng password\n", authfile, linenum);
+ lprintf(-1, "%s:%d Missing password\n", authfile, linenum);
goto close;
}
error = auth_parsetoken(&line, auth->password,
sizeof(auth->password));
if (error != STATUS_SUCCESS) {
- lprintf(-1, "%s:%d Missng comment\n", authfile, linenum);
+ lprintf(-1, "%s:%d Missing comment\n", authfile, linenum);
goto close;
}
stream_close(s);
OpenPOWER on IntegriCloud