diff options
-rw-r--r-- | ext2fs/ialloc.c | 6 | ||||
-rw-r--r-- | ext2fs/pager.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c index ec57312c..27a227fe 100644 --- a/ext2fs/ialloc.c +++ b/ext2fs/ialloc.c @@ -1,6 +1,6 @@ /* Inode allocation routines. - Copyright (C) 1995,96,99,2000 Free Software Foundation, Inc. + Copyright (C) 1995,96,99,2000,02 Free Software Foundation, Inc. Converted to work under the hurd by Miles Bader <miles@gnu.org> @@ -66,7 +66,7 @@ diskfs_free_node (struct node *np, mode_t old_mode) if (inum < EXT2_FIRST_INO (sblock) || inum > sblock->s_inodes_count) { - ext2_error ("reserved inode or nonexistent inode: %u", inum); + ext2_error ("reserved inode or nonexistent inode: %Ld", inum); spin_unlock (&global_lock); return; } @@ -78,7 +78,7 @@ diskfs_free_node (struct node *np, mode_t old_mode) bh = bptr (gdp->bg_inode_bitmap); if (!clear_bit (bit, bh)) - ext2_warning ("bit already cleared for inode %u", inum); + ext2_warning ("bit already cleared for inode %Ld", inum); else { record_global_poke (bh); diff --git a/ext2fs/pager.c b/ext2fs/pager.c index 0e45416a..f8e16d46 100644 --- a/ext2fs/pager.c +++ b/ext2fs/pager.c @@ -572,7 +572,7 @@ pager_unlock_page (struct user_pager_info *pager, vm_offset_t page) if (err == ENOSPC) ext2_warning ("This filesystem is out of space, and will now crash. Bye!"); else if (err) - ext2_warning ("inode=%d, page=0x%zx: %s", + ext2_warning ("inode=%Ld, page=0x%zx: %s", node->cache_id, page, strerror (err)); return err; @@ -660,7 +660,7 @@ diskfs_grow (struct node *node, off_t size, struct protid *cred) dn->last_page_partially_writable ? " (last page writable)": ""); if (err) - ext2_warning ("inode=%d, target=%ld: %s", + ext2_warning ("inode=%Ld, target=%Ld: %s", node->cache_id, new_size, strerror (err)); node->allocsize = new_size; |