]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: don't offer GPT stuff in BSD menu
authorKarel Zak <kzak@redhat.com>
Tue, 13 Nov 2012 17:05:36 +0000 (18:05 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Nov 2012 17:05:36 +0000 (18:05 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisks/fdisk.c

index a3ac087e543b8f05b9457b67b23eefad1efa79cf..37a15223df0b5e2d0ab8eee44ad708c3092a8c60 100644 (file)
@@ -90,7 +90,7 @@ static const struct menulist_descr menulist[] = {
        {'e', N_("edit drive data"), {OSF_LABEL, 0}},
        {'f', N_("fix partition order"), {0, DOS_LABEL}},
        {'g', N_("create an IRIX (SGI) partition table"), {0, ANY_LABEL}},
-       {'g', N_("create a new empty GPT partition table"), {ANY_LABEL, 0}},
+       {'g', N_("create a new empty GPT partition table"), {~OSF_LABEL, 0}},
        {'h', N_("change number of heads"), {0, DOS_LABEL | SUN_LABEL}},
        {'i', N_("change interleave factor"), {0, SUN_LABEL}},
        {'i', N_("change the disk identifier"), {0, DOS_LABEL}},