1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Fix typos in error messages.

Found by:	kib
Approved by:	re (kib)
MFC after:	1 week
This commit is contained in:
Christian Brueffer 2011-09-13 20:35:34 +00:00
parent 51ad0033d6
commit 43fb93b0da
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225536

View File

@ -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);