diff options
author | Francesco Cosoleto | 2011-07-03 12:01:21 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-11 12:01:42 +0200 |
commit | 365acc97654d33a01698ada9bf18fbbdce7d88cc (patch) | |
tree | 243cce58d7c6210a53a832028165dc25f4f8e73d /disk-utils/fdformat.c | |
parent | mount: fix typos in mount.8 (diff) | |
download | kernel-qcow2-util-linux-365acc97654d33a01698ada9bf18fbbdce7d88cc.tar.gz kernel-qcow2-util-linux-365acc97654d33a01698ada9bf18fbbdce7d88cc.tar.xz kernel-qcow2-util-linux-365acc97654d33a01698ada9bf18fbbdce7d88cc.zip |
fdisk: use a single variable for the current disklabel
Using a variable for each supported partition table type doesn't seem necessary.
This fixes also a minor bug in switching from SGI label to SUN label: the expert
menu isn't available as sgi_label variable remains set to true.
Code a bit more clear as *_label names have similarity with names such as
"sgilabel", "struct sun_label".
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Diffstat (limited to 'disk-utils/fdformat.c')
0 files changed, 0 insertions, 0 deletions