summaryrefslogtreecommitdiff
path: root/ext2fs
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
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')
-rw-r--r--ext2fs/ialloc.c6
-rw-r--r--ext2fs/pager.c4
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;