summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/dir.c b/ext2fs/dir.c
index e6ce22c7..9422db94 100644
--- a/ext2fs/dir.c
+++ b/ext2fs/dir.c
@@ -405,7 +405,7 @@ dirscanblock (vm_address_t blockaddr, struct node *dp, int idx,
|| EXT2_DIR_REC_LEN (entry->name_len) > entry->rec_len
|| memchr (entry->name, '\0', entry->name_len))
{
- ext2_warning ("bad directory entry: inode: %d offset: %ld",
+ ext2_warning ("bad directory entry: inode: %d offset: %d",
dp->cache_id,
currentoff - blockaddr + idx * DIRBLKSIZ);
return ENOENT;