svn commit: r204909 - head/sbin/newfs
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Mar 9 11:28:58 UTC 2010
In message <201003091031.o29AV3JO088200 at svn.freebsd.org>, 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
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the svn-src-all
mailing list