]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: do not call sgi and sun code when creating a new dos label
authorDavidlohr Bueso <dave@gnu.org>
Mon, 23 Apr 2012 10:55:52 +0000 (12:55 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Apr 2012 10:55:52 +0000 (12:55 +0200)
commit3813eb5ead1abedca7fea27b1f4275162b0d7e9b
treed561f2e4e11e64fb8f5c075be0ef19e05fd753ec
parent13716cf30694d601c6ca1592424ef8c6beed6f1e
fdisk: do not call sgi and sun code when creating a new dos label

When creating a new DOS label, SGI and SUN pt logic have no business being
there. Remove sun/sgi_nolabel(), since the default amount of partitions are
previously set to 4 and the sun/sgi magic nums are not used in this context.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
fdisk/fdisk.c