Konstantin Belousov 6f100596e5 Change the type of real_dev_bsize variable from long to u_int.
The DIOCGSECTORSIZE takes u_int * as an argument, using long *
causes failures on big-endian targets.

Diagnosed by:	Michiel Boland <boland37 xs4all nl>
PR:	sparc64/163460
Tested by:	pho (x86), flo (sparc64)
MFC after:	1 week
2011-12-20 20:39:00 +00:00
..
2011-09-02 17:05:34 +00:00
2011-04-27 02:55:03 +00:00
2011-04-27 02:55:03 +00:00
2011-09-03 03:12:33 +00:00
2011-04-27 02:55:03 +00:00
2011-02-12 13:17:14 +00:00
2011-04-27 02:55:03 +00:00