]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: add warning to resize function
authorKarel Zak <kzak@redhat.com>
Tue, 21 Apr 2015 13:51:45 +0000 (15:51 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Apr 2015 10:42:26 +0000 (12:42 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/partition.c

index 10f8b4e6623de908cf1c8940e346905baba91000..84de63280a63bf3d70b238c7360d7223a83889b8 100644 (file)
@@ -1096,6 +1096,7 @@ static int recount_resize(
        return 0;
 erange:
        DBG(PART, ul_debugobj(tpl, "resize: FAILED"));
+       fdisk_warnx(cxt, _("failed to resize partition #%zu."), partno + 1);
        fdisk_unref_table(tb);
        return -ERANGE;