diff options
author | 2013-11-12 23:31:34 +0000 | |
---|---|---|
committer | 2013-11-12 23:31:34 +0000 | |
commit | 570d9a3af474af7adf46e0d2bbc4565ab0d9b625 (patch) | |
tree | 13161a478ff3eca4eb99c9a0f3e38462e471b78a | |
parent | clarify a simple expression (diff) | |
download | wireguard-openbsd-570d9a3af474af7adf46e0d2bbc4565ab0d9b625.tar.xz wireguard-openbsd-570d9a3af474af7adf46e0d2bbc4565ab0d9b625.zip |
Oops. Use %llu for DL_GETDSIZE() value.
-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)); |