summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-11-26 19:42:15 -0500
committerTheodore Ts'o <tytso@mit.edu>2010-11-26 19:42:15 -0500
commit1df56561b6f3ed4cffc657538cfde48ebe986626 (patch)
tree250fb5679687963efa1e8ec4063f9a0a5ec0cb28
parent230709ae7e44bf807d63f18d33e1e82717a540bf (diff)
downloade2fsprogs-1df56561b6f3ed4cffc657538cfde48ebe986626.tar.gz
resize2fs: Clarify error explaining on-line shrinking is not supported at all
Addresses-Debian-Bug: #599786 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--resize/online.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/resize/online.c b/resize/online.c
index 4bc54513..2a40584a 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);
}