summaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/inode.c')
-rw-r--r--ext2fs/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 0bfaa77f..2e3ca9a9 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -23,6 +23,7 @@
#include <string.h>
#include <unistd.h>
#include <stdio.h>
+#include <inttypes.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <sys/statvfs.h>
@@ -215,7 +216,7 @@ diskfs_user_read_node (struct node *np, struct lookup_context *ctx)
if (le32toh (di->i_size_high)) /* XXX */
{
dino_deref (di);
- ext2_warning ("cannot handle large file inode %Ld", np->cache_id);
+ ext2_warning ("cannot handle large file inode %" PRIu64, np->cache_id);
diskfs_end_catch_exception ();
return EFBIG;
}