Type int accidentally not declared at the top of the function.

This commit is contained in:
Brian Behlendorf 2009-07-09 10:19:02 -07:00
parent 58f5e63293
commit 43af29de5f
1 changed files with 1 additions and 1 deletions

View File

@ -132,8 +132,8 @@ vdev_get_min_asize(vdev_t *vd)
void void
vdev_set_min_asize(vdev_t *vd) vdev_set_min_asize(vdev_t *vd)
{ {
vd->vdev_min_asize = vdev_get_min_asize(vd);
int c; int c;
vd->vdev_min_asize = vdev_get_min_asize(vd);
for (c = 0; c < vd->vdev_children; c++) for (c = 0; c < vd->vdev_children; c++)
vdev_set_min_asize(vd->vdev_child[c]); vdev_set_min_asize(vd->vdev_child[c]);