summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2006-01-13 17:53:09 +0000
committermillert <millert@openbsd.org>2006-01-13 17:53:09 +0000
commit1b33a67697c3a7f755b4fbd983259255a6671c76 (patch)
treec21681e11b3ca9a5b00563900e3ae85429f18ffb
parentMajor number bump due to types changes. (diff)
downloadwireguard-openbsd-1b33a67697c3a7f755b4fbd983259255a6671c76.tar.xz
wireguard-openbsd-1b33a67697c3a7f755b4fbd983259255a6671c76.zip
Fix printf format string due to types change
-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));