diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2013-02-09 21:12:25 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-11 00:22:48 +0100 |
commit | 1bd5ca2f530f11e27a1ae13bba592d9f725ce341 (patch) | |
tree | cd87bd120f918301b0e1b6c460ffa40db7fae624 /libbb | |
parent | 272d85cc8554299502d802b3db7317a7381e8bd7 (diff) | |
download | busybox-1bd5ca2f530f11e27a1ae13bba592d9f725ce341.tar.gz |
fdisk_sun: fix corrupted partition data with blank disk
After creating Sun disk label for the first time for a blank disk,
the partition table appears corrupted because current_label_type will
never get set to a proper type. Fix this by calling check_sun_label()
after BusyBox has created the label.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions