summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2007-05-15 23:29:57 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2007-05-15 23:29:57 +0000
commitce3498bd839ce3f802e61c3b655ca7e9d4dc0764 (patch)
tree64e964fac1c38b272a3bc27926ca996b61295d11
parent3cf55d3ab983b900d2cfbdb2d2b60072ac26bd87 (diff)
Notes
-rw-r--r--sys/geom/part/g_part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/part/g_part.c b/sys/geom/part/g_part.c
index 2a972adc23b8e..d9a2319b48bf5 100644
--- a/sys/geom/part/g_part.c
+++ b/sys/geom/part/g_part.c
@@ -1159,7 +1159,7 @@ g_part_ctlreq(struct gctl_req *req, struct g_class *mp, const char *verb)
(gpp.gpp_parms & G_PART_PARM_FLAGS) &&
strchr(gpp.gpp_flags, 'C') != NULL) ? 1 : 0;
if (auto_commit) {
- KASSERT(gpp->gpp_parms & G_PART_PARM_GEOM, (__func__));
+ KASSERT(gpp.gpp_parms & G_PART_PARM_GEOM, (__func__));
error = g_part_ctl_commit(req, &gpp);
}
}