PERFORCE change 81584 for review

soc-cjones soc-cjones at FreeBSD.org
Sun Aug 7 02:22:44 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=81584

Change 81584 by soc-cjones at soc-cjones_ishtar on 2005/08/07 02:22:06

	Use correct style for getting 'destination' argument.

Affected files ...

.. //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum_move.c#3 edit

Differences ...

==== //depot/projects/soc2005/gvinum/src/sys/geom/vinum/geom_vinum_move.c#3 (text+ko) ====

@@ -65,8 +65,8 @@
 	argc = gctl_get_paraml(req, "argc", sizeof(*argc));
 	flags = gctl_get_paraml(req, "flags", sizeof(*flags));
 
-	destination = gctl_get_paraml(req, "destination", sizeof(*destination));
-	if (NULL == destination || 0 == *destination) {
+	destination = gctl_get_param(req, "destination", NULL);
+	if (NULL == destination) {
 		gctl_error(req, "no destination given");
 		return;
 	}


More information about the p4-projects mailing list