summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-27 21:10:20 +0000
committerMiles Bader <miles@gnu.org>1995-04-27 21:10:20 +0000
commit4397f558b0a4c4acf683deec29de2855738e5496 (patch)
treee5edc3769181ebb0d96b11d20581c76e2cfd4a3b
parent1607f1f470ee67ae8a7b49885da6767922fca50b (diff)
Formerly ialloc.c.~21~
-rw-r--r--ext2fs/ialloc.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c
index 637692c9..b9b4147f 100644
--- a/ext2fs/ialloc.c
+++ b/ext2fs/ialloc.c
@@ -59,7 +59,7 @@ diskfs_free_node (struct node *np, mode_t old_mode)
assert (!diskfs_readonly);
- ext2_debug ("freeing inode %u\n", inum);
+ ext2_debug ("freeing inode %u", inum);
spin_lock (&global_lock);
@@ -333,12 +333,14 @@ ext2_count_free_inodes ()
{
gdp = group_desc (i);
desc_count += gdp->bg_free_inodes_count;
- x = count_free (bptr (gdp->bg_inode_bitmap), sblock->s_inodes_per_group / 8);
- printf ("group %d: stored = %d, counted = %lu\n", i, gdp->bg_free_inodes_count, x);
+ x = count_free (bptr (gdp->bg_inode_bitmap),
+ sblock->s_inodes_per_group / 8);
+ ext2_debug ("group %d: stored = %d, counted = %lu",
+ i, gdp->bg_free_inodes_count, x);
bitmap_count += x;
}
- printf ("ext2_count_free_inodes: stored = %lu, computed = %lu, %lu\n",
- sblock->s_free_inodes_count, desc_count, bitmap_count);
+ ext2_debug ("stored = %lu, computed = %lu, %lu",
+ sblock->s_free_inodes_count, desc_count, bitmap_count);
spin_unlock (&global_lock);
return desc_count;
#else