summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class/multipath
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2007-05-15 20:25:18 +0000
committermarcel <marcel@FreeBSD.org>2007-05-15 20:25:18 +0000
commit40656d08513a31c921315a57a9bbd86878c991fa (patch)
treede4581799ddcced445b8a47904084798e54bf914 /sbin/geom/class/multipath
parent8ea441aed588aa6eb59168cf5f54cf2931aaf6e1 (diff)
downloadFreeBSD-src-40656d08513a31c921315a57a9bbd86878c991fa.zip
FreeBSD-src-40656d08513a31c921315a57a9bbd86878c991fa.tar.gz
Add gpart(8).
In order to support gpart(8), geom(8) needs to support a named argument. Also, optional string parameters are a requirement. Both have been added to the infrastructure. The former required all existing classes to be adjusted.
Diffstat (limited to 'sbin/geom/class/multipath')
-rw-r--r--sbin/geom/class/multipath/geom_multipath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/geom/class/multipath/geom_multipath.c b/sbin/geom/class/multipath/geom_multipath.c
index d729af7..1bb3f32 100644
--- a/sbin/geom/class/multipath/geom_multipath.c
+++ b/sbin/geom/class/multipath/geom_multipath.c
@@ -52,11 +52,11 @@ static void mp_clear(struct gctl_req *);
struct g_command class_commands[] = {
{
"label", G_FLAG_VERBOSE | G_FLAG_LOADKLD, mp_main, G_NULL_OPTS,
- "[-v] name prov ..."
+ NULL, "[-v] name prov ..."
},
{
"clear", G_FLAG_VERBOSE, mp_main, G_NULL_OPTS,
- "[-v] prov ..."
+ NULL, "[-v] prov ..."
},
G_CMD_SENTINEL
};
OpenPOWER on IntegriCloud