From: Karel Zak Date: Wed, 16 Oct 2013 10:13:34 +0000 (+0200) Subject: libfdisk: (dos) be more verbose when change bootable flag X-Git-Tag: v2.25-rc1~795 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f736ae51177bd41d4794b69f81cfefb1e68006df;p=thirdparty%2Futil-linux.git libfdisk: (dos) be more verbose when change bootable flag Signed-off-by: Karel Zak --- 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;