Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2005 02:22:42 GMT
From:      soc-cjones <soc-cjones@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 81584 for review
Message-ID:  <200508070222.j772Mgxq045371@repoman.freebsd.org>

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

Change 81584 by soc-cjones@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;
 	}



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