diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-11-12 23:31:35 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-11-12 23:31:35 +0000 |
commit | 71f48a438b3655a4b562af0247a023b3db7d78c8 (patch) | |
tree | 359b9ce8e3c9d904c35ce75d57c07c8416e7d120 /sys/arch/sgi | |
parent | 648664cd5c9e9dbcc577e8f114dd3fbe88258d59 (diff) |
Oops. Use %llu for DL_GETDSIZE() value.
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r-- | sys/arch/sgi/stand/sgivol/sgivol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/stand/sgivol/sgivol.c b/sys/arch/sgi/stand/sgivol/sgivol.c index ae33d92c794..bc9b341c4a3 100644 --- a/sys/arch/sgi/stand/sgivol/sgivol.c +++ b/sys/arch/sgi/stand/sgivol/sgivol.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sgivol.c,v 1.19 2013/11/12 01:48:43 krw Exp $ */ +/* $OpenBSD: sgivol.c,v 1.20 2013/11/12 23:31:34 krw Exp $ */ /* $NetBSD: sgivol.c,v 1.8 2003/11/08 04:59:00 sekiya Exp $ */ /*- @@ -260,7 +260,7 @@ display_vol(void) for (i = 0; i < sizeof(struct sgilabel) / sizeof(int32_t); ++i) checksum += betoh32(l[i]); - printf("disklabel shows %lld sectors with %u bytes per sector\n", + printf("disklabel shows %llu sectors with %u bytes per sector\n", DL_GETDSIZE(&lbl), lbl.d_secsize); printf("checksum: %08x%s\n", checksum, checksum == 0 ? "" : " *ERROR*"); printf("root part: %d\n", betoh32(volhdr->root)); |