From 46f5b678d4e031a17f4d8115df17a62b8e0b49aa Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 09:59:52 +0000 Subject: 2002-05-08 Roland McGrath * main.c (diskfs_append_args): Fix argument type. (main): Use %z format modifier for size_t arg. * dir.c (dirscanblock): Use %z format modifier for vm_address_t arg. (diskfs_dirempty): int -> vm_address_t (count_dirents): int -> size_t (diskfs_get_directs): u_int -> size_t --- ufs/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ufs/main.c') diff --git a/ufs/main.c b/ufs/main.c index 8c79d707..242107f4 100644 --- a/ufs/main.c +++ b/ufs/main.c @@ -1,5 +1,5 @@ /* - 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. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -136,7 +136,7 @@ struct argp *diskfs_runtime_argp = (struct argp *)&runtime_argp; /* 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; @@ -166,7 +166,7 @@ main (int argc, char **argv) &store_parsed, &bootstrap); if (store->block_size > DEV_BSIZE) - error (4, 0, "%s: Bad device block size %d (should be <= %d)", + error (4, 0, "%s: Bad device block size %zd (should be <= %d)", diskfs_disk_name, store->block_size, DEV_BSIZE); if (store->size < SBSIZE + SBOFF) error (5, 0, "%s: Disk too small (%Ld bytes)", diskfs_disk_name, -- cgit v1.2.3