disklabel64 - Fix DIOCSDINFO64, DIOCWDINFO64 bugs
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 20 Aug 2009 00:22:43 +0000 (17:22 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 20 Aug 2009 00:22:43 +0000 (17:22 -0700)
commite5db835614c32c968e1b4e855eccae0babb8867f
tree108f8029792fb4aaad0d2dabccc2ae15992205a8
parent40e1d9fc7bd8c214d73d82356aa3360024bbb22a
disklabel64 - Fix DIOCSDINFO64, DIOCWDINFO64 bugs

* A loop iterator was using the wrong variable, causing the disklabel
  operation to fail and potentially also (on 64-bit boxes) crashing the
  box.
sys/kern/subr_disklabel64.c