summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-11 21:37:58 +0000
committerRoland McGrath <roland@gnu.org>2002-06-11 21:37:58 +0000
commitb100b435c8c3554ab100a3ea4d9fda7ac017dfdd (patch)
tree71e09de9788cdb606465db10702316e41d4b37e5 /ext2fs
parent10426e54ac687daedaf9473333f9ce164316cbaa (diff)
2002-06-08 Roland McGrath <roland@frob.com>
* inode.c (diskfs_cached_lookup): Use ino_t for argument. * ialloc.c (diskfs_free_node): Use %Ld format for ino_t/off_t values. * pager.c (diskfs_grow, pager_unlock_page): Likewise. * inode.c (read_node): Likewise. * dir.c (diskfs_get_directs): Likewise.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 31e3e9f6..98279e85 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -63,7 +63,7 @@ inode_init ()
/* Fetch inode INUM, set *NPP to the node structure;
gain one user reference and lock the node. */
error_t
-diskfs_cached_lookup (int inum, struct node **npp)
+diskfs_cached_lookup (ino_t inum, struct node **npp)
{
error_t err;
struct node *np;
@@ -275,7 +275,7 @@ read_node (struct node *np)
info->i_high_size = di->i_size_high;
if (info->i_high_size) /* XXX */
{
- ext2_warning ("cannot handle large file inode %d", np->cache_id);
+ ext2_warning ("cannot handle large file inode %Ld", np->cache_id);
return EFBIG;
}
}