aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-05-09 00:31:29 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-10 02:44:59 +0200
commitbc7a03f4110b8d3a302a9235d8a047448509951d (patch)
treed240719fff1c7d852d5c823ecfcb3504e7c56d1c /ext2fs/inode.c
parent67a9890063b9c5327ee1b89f857826235c9f63dc (diff)
downloadhurd-bc7a03f4110b8d3a302a9235d8a047448509951d.tar.gz
hurd-bc7a03f4110b8d3a302a9235d8a047448509951d.tar.bz2
hurd-bc7a03f4110b8d3a302a9235d8a047448509951d.zip
ext2fs: Port to x86_64
Message-Id: <20230508213136.608575-35-bugaevc@gmail.com>
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;
}