Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2007 22:45:02 GMT
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 112566 for review
Message-ID:  <200701052245.l05Mj2cg055269@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112566

Change 112566 by mjacob@mjexp on 2007/01/05 22:44:55

	Fix a typo.

Affected files ...

.. //depot/projects/mjexp/sbin/geom/class/multipath/geom_multipath.c#5 edit

Differences ...

==== //depot/projects/mjexp/sbin/geom/class/multipath/geom_multipath.c#5 (text+ko) ====

@@ -58,10 +58,6 @@
 		"clear", G_FLAG_VERBOSE, mp_main, G_NULL_OPTS,
 		"[-v] prov ..."
 	},
-	{
-		"destroy", G_FLAG_VERBOSE, NULL, G_NULL_OPTS,
-		"[-fv] name"
-        },
 	G_CMD_SENTINEL
 };
 
@@ -77,7 +73,7 @@
 	}
 	if (strcmp(name, "label") == 0) {
 		mp_label(req);
-	} if (strcmp(name, "clear") == 0) {
+	} else if (strcmp(name, "clear") == 0) {
 		mp_clear(req);
 	} else {
 		gctl_error(req, "Unknown command: %s.", name);
@@ -232,4 +228,3 @@
                 }
         }
 }
-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701052245.l05Mj2cg055269>