diff options
author | Karel Zak | 2014-11-21 15:31:55 +0100 |
---|---|---|
committer | Karel Zak | 2014-11-21 15:31:55 +0100 |
commit | 0477369af46fd909960a752df63f989a932bc764 (patch) | |
tree | 4c7b721ef5795440e4a7b25075f83ba527c0ef3e /disk-utils/fdisk-menu.c | |
parent | ldattach: add fallback for N_GSM0710 (diff) | |
download | kernel-qcow2-util-linux-0477369af46fd909960a752df63f989a932bc764.tar.gz kernel-qcow2-util-linux-0477369af46fd909960a752df63f989a932bc764.tar.xz kernel-qcow2-util-linux-0477369af46fd909960a752df63f989a932bc764.zip |
libfdisk: remove flags from fdisk_ask API
We don't use it for anything usable, lets kill this over-engineering.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/fdisk-menu.c')
-rw-r--r-- | disk-utils/fdisk-menu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/disk-utils/fdisk-menu.c b/disk-utils/fdisk-menu.c index 8afdf6908..f920ad01c 100644 --- a/disk-utils/fdisk-menu.c +++ b/disk-utils/fdisk-menu.c @@ -661,8 +661,7 @@ static int gpt_menu_cb(struct fdisk_context **cxt0, return -ENOMEM; *cxt0 = cxt = mbr; fdisk_enable_details(cxt, 1); /* keep us in expert mode */ - fdisk_sinfo(cxt, FDISK_INFO_SUCCESS, - _("Entering protective/hybrid MBR disklabel.")); + fdisk_info(cxt, _("Entering protective/hybrid MBR disklabel.")); return 0; } @@ -756,8 +755,7 @@ static int dos_menu_cb(struct fdisk_context **cxt0, fdisk_unref_context(bsd); else { *cxt0 = cxt = bsd; - fdisk_sinfo(cxt, FDISK_INFO_SUCCESS, - _("Entering nested BSD disklabel.")); + fdisk_info(cxt, _("Entering nested BSD disklabel.")); } break; } |