In message <[email protected]>, Maxim Sobolev writes:
>Log:
> Change secrorsize back to int, since that's the data type expected by the
> ioctl(DIOCGSECTORSIZE). It creates issues on some architectures.
Uhm, no, DIOCGSECTORSIZE requires an u_int:
$ grep DIOCGSECTORSIZE /sys/sys/disk.h
#define DIOCGSECTORSIZE _IOR('d', 128, u_int)
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[email protected] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"