From 376c8927e39692e2a0f112bdfb062c24860ccc06 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Sat, 5 Jan 2008 19:50:49 +0000 Subject: handle 64-bit blkno in format string --- sys/arch/i386/stand/installboot/installboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c index 78437836759..8070c087957 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.49 2006/02/14 17:16:19 aaron Exp $ */ +/* $OpenBSD: installboot.c,v 1.50 2008/01/05 19:50:48 otto 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 %ld\n", + "inode block %lld, offset %ld\n", fs->fs_fsbtodb, pl->p_offset, ino_to_fsba(fs, statbuf.st_ino), ((((char *)ap) - buf) + INODEOFF)); -- cgit v1.2.3