Avoid format warning for off_t printf.

This commit is contained in:
fvdl 2002-11-24 21:49:15 +00:00
parent 070e18f3f3
commit 2ee89df87b
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdisk.c,v 1.56 2002/10/08 07:38:47 jdarrow Exp $ */
/* $NetBSD: fdisk.c,v 1.57 2002/11/24 21:49:15 fvdl Exp $ */
/*
* Mach Operating System
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: fdisk.c,v 1.56 2002/10/08 07:38:47 jdarrow Exp $");
__RCSID("$NetBSD: fdisk.c,v 1.57 2002/11/24 21:49:15 fvdl Exp $");
#endif /* not lint */
#include <sys/types.h>
@ -571,7 +571,7 @@ print_mbr_partition(struct mbr_partition *partp,
partp->mbrp_typ, get_type(partp->mbrp_typ));
printf("%*s start %lld, size %ld (%ld MB), flag 0x%x\n",
indent, "",
start, getlong(&partp->mbrp_size),
(long long)start, getlong(&partp->mbrp_size),
getlong(&partp->mbrp_size) * 512 / (1024 * 1024), partp->mbrp_flag);
printf("%*s beg: cylinder %4d, head %3d, sector %2d\n",
indent, "",