From: Theodore Ts'o Date: Sat, 27 Nov 2010 00:42:15 +0000 (-0500) Subject: resize2fs: Clarify error explaining on-line shrinking is not supported at all X-Git-Tag: v1.41.13~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1df56561b6f3ed4cffc657538cfde48ebe986626;p=thirdparty%2Fe2fsprogs.git resize2fs: Clarify error explaining on-line shrinking is not supported at all Addresses-Debian-Bug: #599786 Signed-off-by: "Theodore Ts'o" --- diff --git a/resize/online.c b/resize/online.c index 4bc54513f..2a40584a2 100644 --- a/resize/online.c +++ b/resize/online.c @@ -38,8 +38,7 @@ errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt, "on-line resizing required\n"), fs->device_name, mtpt); if (*new_size < sb->s_blocks_count) { - printf(_("On-line shrinking from %u to %u not supported.\n"), - sb->s_blocks_count, *new_size); + com_err(program_name, 0, _("On-line shrinking not supported")); exit(1); }