commit | 0e32f023a40b77774cde26070bc9a19f5274fb9d | [log] [tgz] |
---|---|---|
author | marcel <marcel> | Wed Oct 04 18:20:25 2006 |
committer | marcel <marcel> | Wed Oct 04 18:20:25 2006 |
tree | 1493f5a6bfc96041f5e869e3bd1d715f78e14caf | |
parent | ceaf853c99511aeacae9cc835f9885ab41b1630f [diff] |
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