summaryrefslogtreecommitdiff
path: root/sbin/geom/class/concat/geom_concat.c
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2006-01-30 22:47:07 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2006-01-30 22:47:07 +0000
commitaaf8e1867b639d4991945f6ae9fbdc5f8adecbfa (patch)
tree61c510057c83dd0db70667cdb3a7fa605093dd98 /sbin/geom/class/concat/geom_concat.c
parent87e9d284dc8735e3627397db34a559e4c3b4738f (diff)
Notes
Diffstat (limited to 'sbin/geom/class/concat/geom_concat.c')
-rw-r--r--sbin/geom/class/concat/geom_concat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/geom/class/concat/geom_concat.c b/sbin/geom/class/concat/geom_concat.c
index bf4687ed393a..4157cea29fe4 100644
--- a/sbin/geom/class/concat/geom_concat.c
+++ b/sbin/geom/class/concat/geom_concat.c
@@ -55,7 +55,7 @@ struct g_command class_commands[] = {
"[-v] prov ..."
},
{ "create", G_FLAG_VERBOSE | G_FLAG_LOADKLD, NULL, G_NULL_OPTS,
- "[-v] name prov prov ..."
+ "[-v] name prov ..."
},
{ "destroy", G_FLAG_VERBOSE, NULL,
{
@@ -72,7 +72,7 @@ struct g_command class_commands[] = {
{ 'h', "hardcode", NULL, G_TYPE_NONE },
G_OPT_SENTINEL
},
- "[-hv] name prov prov ..."
+ "[-hv] name prov ..."
},
{ "stop", G_FLAG_VERBOSE, NULL,
{
@@ -118,7 +118,7 @@ concat_label(struct gctl_req *req)
int error, i, hardcode, nargs;
nargs = gctl_get_int(req, "nargs");
- if (nargs <= 2) {
+ if (nargs < 2) {
gctl_error(req, "Too few arguments.");
return;
}