diff options
author | Karel Zak | 2013-07-10 14:59:49 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-16 16:47:06 +0200 |
commit | 22ddf5470510b3d09177ed25c18ccaf15081324f (patch) | |
tree | 3d512f2c0161599df4d36c02c63d3269787e22f2 /fdisks/fdisk-menu.c | |
parent | fdisk: (bsd) implement regular bsd menu callback (diff) | |
download | kernel-qcow2-util-linux-22ddf5470510b3d09177ed25c18ccaf15081324f.tar.gz kernel-qcow2-util-linux-22ddf5470510b3d09177ed25c18ccaf15081324f.tar.xz kernel-qcow2-util-linux-22ddf5470510b3d09177ed25c18ccaf15081324f.zip |
fdisk: (bsd) *OSF --> *BSD
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk-menu.c')
-rw-r--r-- | fdisks/fdisk-menu.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/fdisks/fdisk-menu.c b/fdisks/fdisk-menu.c index 7adf003b7..f78dfe762 100644 --- a/fdisks/fdisk-menu.c +++ b/fdisks/fdisk-menu.c @@ -91,21 +91,21 @@ struct menu menu_generic = { MENU_ENT ('n', N_("add a new partition")), MENU_BENT ('p', N_("print the partition table")), MENU_ENT ('t', N_("change a partition type")), - MENU_ENT_E('v', N_("verify the partition table"), FDISK_DISKLABEL_OSF), + MENU_ENT_E('v', N_("verify the partition table"), FDISK_DISKLABEL_BSD), MENU_XENT('d', N_("print the raw data of the first sector")), MENU_SEP(N_("Misc")), MENU_BENT ('m', N_("print this menu")), MENU_ENT_E('u', N_("change display/entry units"), FDISK_DISKLABEL_GPT), - MENU_ENT_E('x', N_("extra functionality (experts only)"), FDISK_DISKLABEL_OSF), + MENU_ENT_E('x', N_("extra functionality (experts only)"), FDISK_DISKLABEL_BSD), MENU_BSEP(N_("Save & Exit")), - MENU_ENT_E('w', N_("write table to disk and exit"), FDISK_DISKLABEL_OSF), - MENU_ENT_L('w', N_("write table to disk"), FDISK_DISKLABEL_OSF), + MENU_ENT_E('w', N_("write table to disk and exit"), FDISK_DISKLABEL_BSD), + MENU_ENT_L('w', N_("write table to disk"), FDISK_DISKLABEL_BSD), MENU_BENT ('q', N_("quit without saving changes")), MENU_XENT ('r', N_("return to main menu")), - MENU_ENT_L('r', N_("return to main menu"), FDISK_DISKLABEL_OSF), + MENU_ENT_L('r', N_("return to main menu"), FDISK_DISKLABEL_BSD), { 0, NULL } } @@ -113,7 +113,7 @@ struct menu menu_generic = { struct menu menu_createlabel = { /* .callback = createlabel_menu_cb, */ - .exclude = FDISK_DISKLABEL_OSF, + .exclude = FDISK_DISKLABEL_BSD, .entries = { MENU_SEP(N_("Create a new label")), MENU_ENT('g', N_("create a new empty GPT partition table")), @@ -130,7 +130,7 @@ struct menu menu_createlabel = { struct menu menu_geo = { .callback = geo_menu_cb, - .exclude = FDISK_DISKLABEL_GPT | FDISK_DISKLABEL_OSF, + .exclude = FDISK_DISKLABEL_GPT | FDISK_DISKLABEL_BSD, .entries = { MENU_XSEP(N_("Geometry")), MENU_XENT('c', N_("change number of cylinders")), @@ -201,7 +201,7 @@ struct menu menu_dos = { struct menu menu_bsd = { .callback = bsd_menu_cb, - .label = FDISK_DISKLABEL_OSF, + .label = FDISK_DISKLABEL_BSD, .entries = { MENU_SEP(N_("BSD")), MENU_ENT('e', N_("edit drive data")), @@ -562,7 +562,7 @@ static int bsd_menu_cb(struct fdisk_context **cxt0, assert(cxt); assert(ent); - assert(fdisk_is_disklabel(cxt, OSF)); + assert(fdisk_is_disklabel(cxt, BSD)); DBG(FRONTEND, dbgprint("enter BSD menu")); |