summaryrefslogtreecommitdiff
path: root/resize/online.c
diff options
context:
space:
mode:
Diffstat (limited to 'resize/online.c')
-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);
}