summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-05-01 12:05:45 +0000
committerpjd <pjd@FreeBSD.org>2006-05-01 12:05:45 +0000
commitf2ed81d3aa1f20914d7749af697b33a5dadf5c33 (patch)
tree05e9e7215ef2fa11e5f8e1121840caba99b619f5 /sbin/geom/class
parent9c3fa60f2bb683ea92b0628ecd9af862e4e0b45f (diff)
downloadFreeBSD-src-f2ed81d3aa1f20914d7749af697b33a5dadf5c33.zip
FreeBSD-src-f2ed81d3aa1f20914d7749af697b33a5dadf5c33.tar.gz
Correct error messages.
MFC after: 2 weeks
Diffstat (limited to 'sbin/geom/class')
-rw-r--r--sbin/geom/class/eli/geom_eli.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/geom/class/eli/geom_eli.c b/sbin/geom/class/eli/geom_eli.c
index c4577a1..e71adc9 100644
--- a/sbin/geom/class/eli/geom_eli.c
+++ b/sbin/geom/class/eli/geom_eli.c
@@ -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");
OpenPOWER on IntegriCloud