summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-13 17:53:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-13 17:53:10 +0000
commitb8cd3646b7bf212c38b1998fc71b909b7dd72726 (patch)
treeb80a0d207c4c26889e4e81f39a8cb77aa77a2daa /sys/arch/i386
parent38352b6a291f052a5fcfe98815b4f34fc518ba19 (diff)
Fix printf format string due to types change
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/installboot/installboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c
index 69e77e61153..2f5b7c995e8 100644
--- a/sys/arch/i386/stand/installboot/installboot.c
+++ b/sys/arch/i386/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.47 2004/07/15 21:44:16 tom Exp $ */
+/* $OpenBSD: installboot.c,v 1.48 2006/01/13 17:53:09 millert Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -439,7 +439,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 %u, offset %ld\n",
fs->fs_fsbtodb, pl->p_offset,
ino_to_fsba(fs, statbuf.st_ino),
((((char *)ap) - buf) + INODEOFF));