summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-04-25 18:32:36 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-04-25 18:32:36 +0000
commit7bc47afbf2d0ec15f44bffc941c897e4cd42d9fd (patch)
tree8499af4d06599c9be94c8e2093f326a9158c8c74 /sys
parent8c60a2b17e53166fbb714278c6f9b389e0d3cf4c (diff)
fix some more printf's where a long arg was specified that is u_int32_t
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/stand/installboot/installboot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c
index c938c51f005..2c9c110a7e4 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.31 1998/04/20 07:25:15 mickey Exp $ */
+/* $OpenBSD: installboot.c,v 1.32 1998/04/25 18:32:35 millert Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -285,7 +285,7 @@ loadprotoblocks(fname, size)
goto bad;
}
if (N_GETMAGIC(eh) != OMAGIC) {
- warn("bad magic: 0x%lx", eh.a_midmag);
+ warn("bad magic: 0x%x", eh.a_midmag);
goto bad;
}
/*
@@ -318,7 +318,7 @@ loadprotoblocks(fname, size)
maxblocknum = *block_count_p;
if (verbose) {
- fprintf(stderr, "%s: entry point %#lx\n", fname, eh.a_entry);
+ fprintf(stderr, "%s: entry point %#x\n", fname, eh.a_entry);
fprintf(stderr, "proto bootblock size %ld\n", *size);
fprintf(stderr, "room for %d filesystem blocks at %#lx\n",
maxblocknum, nl[X_BLOCK_TABLE].n_value);
@@ -396,7 +396,7 @@ loadblocknums(boot, devfd, dl)
}
if (N_GETMAGIC(eh) != ZMAGIC) {
- errx(1, "%s: bad magic: 0x%lx", boot, eh.a_midmag);
+ errx(1, "%s: bad magic: 0x%x", boot, eh.a_midmag);
}
if (fsync(fd) != 0)