summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-12-29 14:20:53 -0800
committerColin Cross <ccross@android.com>2011-01-05 15:54:21 -0800
commit2e905e5f2a3df605c68cb8633580c918e9f4ba71 (patch)
tree01c8fbc17a6dc346319ee336a9525c2a235b36ee
parentf27036726a039f516f59df79351c2717b0fb4aad (diff)
downloadextras-2e905e5f2a3df605c68cb8633580c918e9f4ba71.tar.gz
ext4_utils: Fix warnings
Change-Id: Ibeb2001a1ac8cfedd9fced11b17afba4940b6bd5
-rw-r--r--ext4_utils/contents.c2
-rw-r--r--ext4_utils/make_ext4fs.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ext4_utils/contents.c b/ext4_utils/contents.c
index 0ecdfd43..0f816b86 100644
--- a/ext4_utils/contents.c
+++ b/ext4_utils/contents.c
@@ -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;
}
diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c
index 2160d563..3fee1331 100644
--- a/ext4_utils/make_ext4fs.c
+++ b/ext4_utils/make_ext4fs.c
@@ -20,6 +20,7 @@
#include "allocate.h"
#include "contents.h"
#include "uuid.h"
+#include "backed_block.h"
#include <dirent.h>
#include <libgen.h>