summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-01-05 19:50:49 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-01-05 19:50:49 +0000
commit376c8927e39692e2a0f112bdfb062c24860ccc06 (patch)
tree5f405bef8b1c4d8b2657d88da2a063fd5c310509 /sys/arch/amd64/stand
parent58b52f42cefd1bef54c417665b7c9e14fef23b97 (diff)
handle 64-bit blkno in format string
Diffstat (limited to 'sys/arch/amd64/stand')
-rw-r--r--sys/arch/amd64/stand/installboot/installboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/installboot/installboot.c b/sys/arch/amd64/stand/installboot/installboot.c
index 057d3d12be2..a65de8e3e06 100644
--- a/sys/arch/amd64/stand/installboot/installboot.c
+++ b/sys/arch/amd64/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.6 2006/02/14 17:16:19 aaron Exp $ */
+/* $OpenBSD: installboot.c,v 1.7 2008/01/05 19:50:48 otto Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -443,7 +443,7 @@ getbootparams(char *boot, int devfd, struct disklabel *dl)
fprintf(stderr, "%s is %d blocks x %d bytes\n",
boot, ndb, fs->fs_bsize);
fprintf(stderr, "fs block shift %u; part offset %u; "
- "inode block %u, offset %u\n",
+ "inode block %lld, offset %u\n",
fs->fs_fsbtodb, pl->p_offset,
ino_to_fsba(fs, statbuf.st_ino),
(unsigned int)((((char *)ap) - buf) + INODEOFF));