[mtd-utils] mkfs.ubifs: fix description of favor_lzo
diff mbox series

Message ID 20190718094258.8521-1-u.kleine-koenig@pengutronix.de
State New
Headers show
Series
  • [mtd-utils] mkfs.ubifs: fix description of favor_lzo
Related show

Commit Message

Uwe Kleine-K├Ânig July 18, 2019, 9:42 a.m. UTC
"favor_lzo" uses "lzo" unless the space savings when using "zlib" are
big. The current wording got this wrong.
---
 ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

David Oberhollenzer July 18, 2019, 9:48 a.m. UTC | #1
Applied to mtd-utils.git master.

Thanks,

David

Patch
diff mbox series

diff --git a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
index 6d8e55dc32c0..58ebf8ce9d48 100644
--- a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
+++ b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
@@ -250,8 +250,8 @@  static const char *helptext =
 "really a separate compressor. It is just a method of combining \"lzo\" and \"zlib\"\n"
 "compressors. Namely, mkfs.ubifs tries to compress data with both \"lzo\" and \"zlib\"\n"
 "compressors, then it compares which compressor is better. If \"zlib\" compresses 20\n"
-"or more percent better than \"lzo\", mkfs.ubifs chooses \"lzo\", otherwise it chooses\n"
-"\"zlib\". The \"--favor-percent\" may specify arbitrary threshold instead of the\n"
+"or more percent better than \"lzo\", mkfs.ubifs chooses \"zlib\", otherwise it chooses\n"
+"\"lzo\". The \"--favor-percent\" may specify arbitrary threshold instead of the\n"
 "default 20%.\n\n"
 "The -F parameter is used to set the \"fix up free space\" flag in the superblock,\n"
 "which forces UBIFS to \"fixup\" all the free space which it is going to use. This\n"