diff options
author | marcel <marcel@FreeBSD.org> | 2006-10-04 18:20:25 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-10-04 18:20:25 +0000 |
commit | bcfb48e2eb5e6a01dcf8f984368d5c5dff75375e (patch) | |
tree | 0737832541a09369a5f355785c9cd69f725c6c84 /lib/libc/stdlib/getopt_long.c | |
parent | c0d4b0e19f9d154eb73d29fe68f538e1fe18ee43 (diff) | |
download | FreeBSD-src-bcfb48e2eb5e6a01dcf8f984368d5c5dff75375e.zip FreeBSD-src-bcfb48e2eb5e6a01dcf8f984368d5c5dff75375e.tar.gz |
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
Diffstat (limited to 'lib/libc/stdlib/getopt_long.c')
0 files changed, 0 insertions, 0 deletions