summaryrefslogtreecommitdiffstats
path: root/disk-utils/fdformat.c
diff options
context:
space:
mode:
authorFrancesco Cosoleto2011-07-03 12:01:21 +0200
committerKarel Zak2011-07-11 12:01:42 +0200
commit365acc97654d33a01698ada9bf18fbbdce7d88cc (patch)
tree243cce58d7c6210a53a832028165dc25f4f8e73d /disk-utils/fdformat.c
parentmount: fix typos in mount.8 (diff)
downloadkernel-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