Whamcloud - gitweb
libext2fs: fix build failure on big endian systems
authorTheodore Ts'o <tytso@mit.edu>
Thu, 13 Mar 2014 17:40:37 +0000 (13:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 13 Mar 2014 17:40:37 +0000 (13:40 -0400)
Fix a typo that we didn't notice because all the world's an x86.  :-)

Reported-by: jon ernst <jonernst07@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/swapfs.c

index e3628b3..f08859b 100644 (file)
@@ -363,7 +363,7 @@ void ext2fs_swap_mmp(struct mmp_struct *mmp)
 
 errcode_t ext2fs_dirent_swab_in(ext2_filsys fs, char *buf, int flags)
 {
-       return ext2fs_dirent_swab_in(fs, buf, fs->blocksize, flags);
+       return ext2fs_dirent_swab_in2(fs, buf, fs->blocksize, flags);
 }
 
 errcode_t ext2fs_dirent_swab_in2(ext2_filsys fs, char *buf,