commit | 6884fee4be0454772793290232515618335415ac | [log] [download] |
---|---|---|
author | okuji <okuji@localhost> | Sun Mar 27 23:20:09 2005 +0000 |
committer | okuji <okuji@localhost> | Sun Mar 27 23:20:09 2005 +0000 |
tree | 40cff69d631f78e8994152dcdf417b555c51ab93 | |
parent | 2b7a7354d936b51d2e7b9b3bbee99b2c9c7656a3 [diff] |
2005-03-28 Yoshinori K. Okuji <okuji@enbug.org> * lib/device.c (get_drive_geometry): Use ST.ST_SIZE instead of ST.ST_BLOCKS to get the total number of sectors, because st_blocks is not the same if it is a sparse file.