diff options
author | grog <grog@FreeBSD.org> | 1998-11-03 06:39:39 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1998-11-03 06:39:39 +0000 |
commit | 817fa589a992f411c1b59a90e3672f63b0840275 (patch) | |
tree | 9c0317729f978d3f41c8df2ec3b34447fb762851 /sbin/vinum | |
parent | e284b0b462f23ba00762e0eb3b61866c6ab2bcdb (diff) | |
download | FreeBSD-src-817fa589a992f411c1b59a90e3672f63b0840275.zip FreeBSD-src-817fa589a992f411c1b59a90e3672f63b0840275.tar.gz |
Correct u_int_64 casting to remove warnings in printf()
Diffstat (limited to 'sbin/vinum')
-rw-r--r-- | sbin/vinum/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/vinum/list.c b/sbin/vinum/list.c index dcf85f8..4b6a634 100644 --- a/sbin/vinum/list.c +++ b/sbin/vinum/list.c @@ -35,7 +35,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: list.c,v 1.14 1998/10/30 01:05:26 grog Exp grog $ + * $Id: list.c,v 1.13 1998/09/04 05:58:19 grog Exp grog $ */ #include <ctype.h> @@ -353,7 +353,7 @@ vinum_lpi(int plexno, int recurse) if (plex.state == plex_reviving) { printf("\t\tRevive pointer:\t\t%s (%d%%)\n", roughlength(plex.revived << DEV_BSHIFT, 0), - (int) ((u_int64_t) (plex.revived * 100)) / plex.length); + (int) (((u_int64_t) (plex.revived * 100)) / plex.length)); printf("\t\tRevive blocksize:\t%s\n" "\t\tRevive interval:\t%10d seconds\n", roughlength(plex.revive_blocksize, 0), |