From b53c9c8b82b63b06ae3f6d337feebf8d53656bb0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 2 Jun 2002 21:40:59 +0000 Subject: 2002-05-29 Roland McGrath * dir.c (dirscanblock): Use %z format. (diskfs_get_directs): Likewise. * ext2fs.c (main): Likewise. * hyper.c (get_hypermetadata): Likewise. * pager.c (pager_unlock_page): Likewise. --- ext2fs/hyper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext2fs/hyper.c') diff --git a/ext2fs/hyper.c b/ext2fs/hyper.c index 02db378e..bee4175f 100644 --- a/ext2fs/hyper.c +++ b/ext2fs/hyper.c @@ -1,6 +1,6 @@ /* Fetching and storing the hypermetadata (superblock and bg summary info) - Copyright (C) 1994,95,96,99,2001 Free Software Foundation, Inc. + Copyright (C) 1994,95,96,99,2001,02 Free Software Foundation, Inc. Written by Miles Bader This program is free software; you can redistribute it and/or @@ -82,7 +82,7 @@ get_hypermetadata (void) log2_dev_blocks_per_fs_block = log2_block_size - store->log2_block_size; if (log2_dev_blocks_per_fs_block < 0) ext2_panic ("block size %d isn't a power-of-two multiple of the device" - " block size (%d)!", + " block size (%zd)!", block_size, store->block_size); log2_stat_blocks_per_fs_block = 0; @@ -98,7 +98,7 @@ get_hypermetadata (void) (long long int) sblock->s_blocks_count << log2_block_size); if (log2_dev_blocks_per_fs_block != 0 && (store->size & ((1 << log2_dev_blocks_per_fs_block) - 1)) != 0) - ext2_warning ("%Ld (%d byte) device blocks " + ext2_warning ("%Ld (%zd byte) device blocks " " unused after last filesystem (%d byte) block", (store->size & ((1 << log2_dev_blocks_per_fs_block) - 1)), store->block_size, block_size); -- cgit v1.2.3