marcel 2006-10-04 18:20:26 UTC
FreeBSD src repository
Modified files:
sbin/gpt add.c label.c remove.c
Log:
Use strtoll(3) instead of strtol(3) for the starting block or
partition size. On 32-bit platforms sizeof(long) < sizeof(off_t)
and using strtol(3) would prevent partitions larger than 4G
sectors or beyond 4G blocks.
PR: bin/103991
MFC after: 3 days
Revision Changes Path
1.15 +2 -2 src/sbin/gpt/add.c
1.3 +2 -2 src/sbin/gpt/label.c
1.10 +2 -2 src/sbin/gpt/remove.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"