summaryrefslogtreecommitdiff
path: root/mkfs.ubifs/mkfs.ubifs.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-10-22 18:12:14 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-10-22 18:12:14 +0300
commit2b99487a45b8b914207a4bab585fcd0938fe8ad5 (patch)
tree33465d3d078843d1336337f860e7ac207c0229bc /mkfs.ubifs/mkfs.ubifs.c
parent77c4301465949ba07a25723e538562186d27a8ac (diff)
Fix favor LZO implementation
Use c->favor_percent, not c->favor_lzo. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'mkfs.ubifs/mkfs.ubifs.c')
-rw-r--r--mkfs.ubifs/mkfs.ubifs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkfs.ubifs/mkfs.ubifs.c b/mkfs.ubifs/mkfs.ubifs.c
index 8394df9..f8b4636 100644
--- a/mkfs.ubifs/mkfs.ubifs.c
+++ b/mkfs.ubifs/mkfs.ubifs.c
@@ -93,8 +93,8 @@ struct inum_mapping {
* Because we copy functions from the kernel, we use a subset of the UBIFS
* file-system description object struct ubifs_info.
*/
-static struct ubifs_info info_;
-struct ubifs_info *c = &info_;
+struct ubifs_info info_;
+static struct ubifs_info *c = &info_;
/* Debug levels are: 0 (none), 1 (statistics), 2 (files) ,3 (more details) */
int debug_level;