OSDN Git Service

ext4_utils: Fix warnings
authorColin Cross <ccross@android.com>
Wed, 29 Dec 2010 22:20:53 +0000 (14:20 -0800)
committerColin Cross <ccross@android.com>
Wed, 5 Jan 2011 23:54:21 +0000 (15:54 -0800)
Change-Id: Ibeb2001a1ac8cfedd9fced11b17afba4940b6bd5

ext4_utils/contents.c
ext4_utils/make_ext4fs.c

index 0ecdfd4..0f816b8 100644 (file)
@@ -115,7 +115,7 @@ u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,
 
        data = inode_allocate_data_extents(inode, len, len);
        if (data == NULL) {
-               error("failed to allocate %llu extents", len);
+               error("failed to allocate %u extents", len);
                return EXT4_ALLOCATE_FAILED;
        }
 
index 2160d56..3fee133 100644 (file)
@@ -20,6 +20,7 @@
 #include "allocate.h"
 #include "contents.h"
 #include "uuid.h"
+#include "backed_block.h"
 
 #include <dirent.h>
 #include <libgen.h>