From f736ae51177bd41d4794b69f81cfefb1e68006df Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 16 Oct 2013 12:13:34 +0200 Subject: [PATCH] libfdisk: (dos) be more verbose when change bootable flag Signed-off-by: Karel Zak --- libfdisk/src/dos.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index ac8708fb6c..11d3c71f4c 100644 --- a/libfdisk/src/dos.c +++ b/libfdisk/src/dos.c @@ -1931,6 +1931,11 @@ static int dos_toggle_partition_flag( p->boot_ind = (p->boot_ind ? 0 : ACTIVE_FLAG); partition_set_changed(cxt, i, 1); + fdisk_sinfo(cxt, FDISK_INFO_SUCCESS, + p->boot_ind ? + _("The bootable flag on partition %zu is enabled now.") : + _("The bootable flag on partition %zu is disabled now."), + i + 1); break; default: return 1; -- 2.47.3