diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-02 21:40:56 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-02 21:40:56 +0000 |
commit | 80f99c5c8c5825c80c0f083f9b33d7f6af246b24 (patch) | |
tree | e6830032d1d59311f5b1791f362bafdb5deda6bc /ext2fs/ext2fs.c | |
parent | c04f4d2ad369bcd6ddfefd8424991432a9374695 (diff) |
2002-05-29 Roland McGrath <roland@frob.com>
* 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.
2002-05-28 Roland McGrath <roland@frob.com>
* ext2fs.c (diskfs_append_args): unsigned -> size_t
* dir.c (count_dirents): int -> size_t
(diskfs_get_directs): u_int -> size_t
Diffstat (limited to 'ext2fs/ext2fs.c')
-rw-r--r-- | ext2fs/ext2fs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c index 64927f38..0857a749 100644 --- a/ext2fs/ext2fs.c +++ b/ext2fs/ext2fs.c @@ -1,6 +1,6 @@ /* Main entry point for the ext2 file system translator - Copyright (C) 1994, 95, 96, 97, 98, 99 Free Software Foundation, Inc. + Copyright (C) 1994,95,96,97,98,99,2002 Free Software Foundation, Inc. Converted for ext2fs by Miles Bader <miles@gnu.ai.mit.edu> @@ -132,7 +132,7 @@ parse_opt (int key, char *arg, struct argp_state *state) /* Override the standard diskfs routine so we can add our own output. */ error_t -diskfs_append_args (char **argz, unsigned *argz_len) +diskfs_append_args (char **argz, size_t *argz_len) { error_t err; @@ -175,7 +175,7 @@ main (int argc, char **argv) if (store->size < SBLOCK_OFFS + SBLOCK_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)", + ext2_panic ("device block size (%zu) greater than page size (%zd)", store->block_size, vm_page_size); /* Map the entire disk. */ |