summaryrefslogtreecommitdiff
path: root/ext2fs/ialloc.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-11 21:38:01 +0000
committerRoland McGrath <roland@gnu.org>2002-06-11 21:38:01 +0000
commit68bac99171b5e8094677b58bac896d35d8da98a3 (patch)
tree5a7513037490823943ef5c75d6885b1ae5eb5b84 /ext2fs/ialloc.c
parentb100b435c8c3554ab100a3ea4d9fda7ac017dfdd (diff)
2002-06-08 Roland McGrath <roland@frob.com>
* 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/ialloc.c')
-rw-r--r--ext2fs/ialloc.c6
1 files changed, 3 insertions, 3 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);