diff options
-rw-r--r-- | mkfs.jffs2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkfs.jffs2.c b/mkfs.jffs2.c index 2f2c371..cdf2a5a 100644 --- a/mkfs.jffs2.c +++ b/mkfs.jffs2.c @@ -1662,14 +1662,14 @@ int main(int argc, char **argv) int compr_prior = -1; int warn_page_size = 0; - jffs2_compressors_init(); - page_size = sysconf(_SC_PAGESIZE); if (page_size < 0) /* System doesn't know so ... */ page_size = 4096; /* ... we make an educated guess */ if (page_size != 4096) warn_page_size = 1; /* warn user if page size not 4096 */ + jffs2_compressors_init(); + while ((opt = getopt_long(argc, argv, "D:d:r:s:o:qUPfh?vVe:lbp::nc:m:x:X:Lty:i:", long_options, &c)) >= 0) { |