Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
230709a
)
resize2fs: Clarify error explaining on-line shrinking is not supported at all
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 27 Nov 2010 00:42:15 +0000
(19:42 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 27 Nov 2010 00:42:15 +0000
(19:42 -0500)
Addresses-Debian-Bug: #599786
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
resize/online.c
patch
|
blob
|
history
diff --git
a/resize/online.c
b/resize/online.c
index
4bc5451
..
2a40584
100644
(file)
--- 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);
}