1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

Correct error messages.

MFC after:	2 weeks
This commit is contained in:
Pawel Jakub Dawidek 2006-05-01 12:05:45 +00:00
parent e862bc666e
commit 8134d91329
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158214

View File

@ -505,7 +505,7 @@ eli_init(struct gctl_req *req)
nargs = gctl_get_int(req, "nargs");
if (nargs != 1) {
gctl_error(req, "Too few arguments.");
gctl_error(req, "Invalid number of arguments.");
return;
}
prov = gctl_get_ascii(req, "arg0");
@ -611,7 +611,7 @@ eli_attach(struct gctl_req *req)
nargs = gctl_get_int(req, "nargs");
if (nargs != 1) {
gctl_error(req, "Too few arguments.");
gctl_error(req, "Invalid number of arguments.");
return;
}
prov = gctl_get_ascii(req, "arg0");
@ -756,7 +756,7 @@ eli_setkey(struct gctl_req *req)
nargs = gctl_get_int(req, "nargs");
if (nargs != 1) {
gctl_error(req, "Too few arguments.");
gctl_error(req, "Invalid number of arguments.");
return;
}
prov = gctl_get_ascii(req, "arg0");
@ -830,7 +830,7 @@ eli_delkey(struct gctl_req *req)
nargs = gctl_get_int(req, "nargs");
if (nargs != 1) {
gctl_error(req, "Too few arguments.");
gctl_error(req, "Invalid number of arguments.");
return;
}
prov = gctl_get_ascii(req, "arg0");