summaryrefslogtreecommitdiff
path: root/lib/ext2fs/initialize.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1999-01-04 08:50:59 +0000
committerTheodore Ts'o <tytso@mit.edu>1999-01-04 08:50:59 +0000
commit7a46952e3fbe7f03868061725f968a2af18a23e9 (patch)
tree2361fcd5cf54b23e7327491cb57c36bd3895d7a3 /lib/ext2fs/initialize.c
parentdefde7840c538ca81519f6a0f354f763fb80a1a6 (diff)
downloade2fsprogs-7a46952e3fbe7f03868061725f968a2af18a23e9.tar.gz
ChangeLog, initialize.c:
initialize.c (ext2fs_initialize): Use EXT2_FIRST_INODE instead of EXT2_FIRST_INO to ensure compatibility with Linux 1.2 header files.
Diffstat (limited to 'lib/ext2fs/initialize.c')
-rw-r--r--lib/ext2fs/initialize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ext2fs/initialize.c b/lib/ext2fs/initialize.c
index 20c8161c..d04a7f56 100644
--- a/lib/ext2fs/initialize.c
+++ b/lib/ext2fs/initialize.c
@@ -164,8 +164,8 @@ retry:
* Make sure we have at least EXT2_FIRST_INO + 1 inodes, so
* that we have enough inodes for the filesystem(!)
*/
- if (super->s_inodes_count < EXT2_FIRST_INO(super)+1)
- super->s_inodes_count = EXT2_FIRST_INO(super)+1;
+ if (super->s_inodes_count < EXT2_FIRST_INODE(super)+1)
+ super->s_inodes_count = EXT2_FIRST_INODE(super)+1;
/*
* There should be at least as many inodes as the user