summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ChangeLog5
-rw-r--r--ext2fs/ext2fs.c2
-rw-r--r--ext2fs/hyper.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/ext2fs/ChangeLog b/ext2fs/ChangeLog
index b20901a1..279362e0 100644
--- a/ext2fs/ChangeLog
+++ b/ext2fs/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-08 Marcus Brinkmann <marcus@gnu.org>
+
+ * ext2fs.c (main): Use %Ld instead %ld to print store->size.
+ * hyper.c (get_hypermetadata): Likewise.
+
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c: Make diskfs_dirstat_size const.
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c
index ef22a940..c34ec4d4 100644
--- a/ext2fs/ext2fs.c
+++ b/ext2fs/ext2fs.c
@@ -173,7 +173,7 @@ main (int argc, char **argv)
&store_parsed, &bootstrap);
if (store->size < SBLOCK_OFFS + SBLOCK_SIZE)
- ext2_panic ("device too small for superblock (%ld bytes)", store->size);
+ ext2_panic ("device too small for superblock (%Ld bytes)", store->size);
if (store->log2_blocks_per_page < 0)
ext2_panic ("device block size (%u) greater than page size (%d)",
store->block_size, vm_page_size);
diff --git a/ext2fs/hyper.c b/ext2fs/hyper.c
index 4012f9f7..5460f0e9 100644
--- a/ext2fs/hyper.c
+++ b/ext2fs/hyper.c
@@ -102,7 +102,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 (%d 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);