diff options
author | Theodore Ts'o <tytso@mit.edu> | 2006-03-23 22:00:01 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2006-03-23 22:00:01 -0500 |
commit | 9dc6ad1ecb0ba3caf14e05279f1cc3cea52095a2 (patch) | |
tree | a5187c0cc6f5da7a4629e0b3a22bdfff0707d03b /misc/util.c | |
parent | 204ae371ad2e038b41c03aba13d3a57e4e6921ec (diff) | |
download | e2fsprogs-9dc6ad1ecb0ba3caf14e05279f1cc3cea52095a2.tar.gz |
Change mke2fs to use /etc/mke2fs.conf as a configuration file
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'misc/util.c')
-rw-r--r-- | misc/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/util.c b/misc/util.c index a08a8dd6..d496c3e5 100644 --- a/misc/util.c +++ b/misc/util.c @@ -256,7 +256,7 @@ int figure_journal_size(int size, ext2_filsys fs) return 0; } - if (size >= 0) { + if (size > 0) { j_blocks = size * 1024 / (fs->blocksize / 1024); if (j_blocks < 1024 || j_blocks > 102400) { fprintf(stderr, _("\nThe requested journal " |