summaryrefslogtreecommitdiffstats
path: root/config.sub
diff options
context:
space:
mode:
authorWendell P Silva <silvawp@gmail.com>2013-12-03 14:55:34 -0500
committerGedare Bloom <gedare@rtems.org>2013-12-03 14:55:34 -0500
commit62ba20d759a30b9e0cef38985ef372caf67c3d49 (patch)
treebe9c6cfd21f9fab08fdd85b13ecde13b7bbd1483 /config.sub
parentPR2056: libqos conversion from uint32_t to time_t (diff)
downloadrtems-62ba20d759a30b9e0cef38985ef372caf67c3d49.tar.bz2
PR2157: fdisk partition table dump improvement
Show the correct index of partition's last block (partition end). The documentation of struct rtems_bdpart_partition (P) says that the member 'end' is the "Block index for partition end (this block is not a part of the partition)". Then, the fdisk's partition table dump should print ((P)->end - 1). Currently, one can think that the last block of a partition P is superposing the beginning of the partition (P + 1). Example: ---------------------------------------- PARTITION TABLE ------------+------------+-------------- BEGIN | END | TYPE ------------+------------+-------------- 2048 | 133120 | FAT 32 133120 | 15628032 | FAT 32 ------------+------------+-------------- With be proposed patch, it would be: ---------------------------------------- PARTITION TABLE ------------+------------+-------------- BEGIN | END | TYPE ------------+------------+-------------- 2048 | 133119 | FAT 32 133120 | 15628031 | FAT 32 ------------+------------+--------------
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions