diff options
Diffstat (limited to 'ext2fs/dir.c')
-rw-r--r-- | ext2fs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/dir.c b/ext2fs/dir.c index c7c3018b..e4ccadee 100644 --- a/ext2fs/dir.c +++ b/ext2fs/dir.c @@ -417,7 +417,7 @@ dirscanblock (vm_address_t blockaddr, struct node *dp, int idx, { ext2_warning ("bad directory entry: inode: %Ld offset: %lu", dp->cache_id, - currentoff - blockaddr + idx * DIRBLKSIZ); + (unsigned long)(currentoff - blockaddr + idx * DIRBLKSIZ)); return ENOENT; } |