diff options
author | nyan <nyan@FreeBSD.org> | 1999-11-16 11:59:19 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 1999-11-16 11:59:19 +0000 |
commit | c4b721b43b6082267abdfbaf86d8aa5e34b7d5e6 (patch) | |
tree | af4303e0d52b78e50ff35a0775703fc05caf0437 /sys/boot/pc98/boot2/boot.c | |
parent | 29d6e6d9a7184a190091e4b3b53ae4dc61118fc1 (diff) | |
download | FreeBSD-src-c4b721b43b6082267abdfbaf86d8aa5e34b7d5e6.zip FreeBSD-src-c4b721b43b6082267abdfbaf86d8aa5e34b7d5e6.tar.gz |
Fixed warnings.
Diffstat (limited to 'sys/boot/pc98/boot2/boot.c')
-rw-r--r-- | sys/boot/pc98/boot2/boot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/pc98/boot2/boot.c b/sys/boot/pc98/boot2/boot.c index df8e755..4dced19 100644 --- a/sys/boot/pc98/boot2/boot.c +++ b/sys/boot/pc98/boot2/boot.c @@ -258,7 +258,7 @@ loadprog(void) printf("Start address too low\n"); return; } - printf("text=0x%x ", head.a_text); + printf("text=0x%lx ", head.a_text); /********************************************************/ /* LOAD THE TEXT SEGMENT */ /********************************************************/ @@ -271,7 +271,7 @@ loadprog(void) while (addr & PAGE_MASK) *(char *)addr++ = 0; - printf("data=0x%x ", head.a_data); + printf("data=0x%lx ", head.a_data); xread((void *)addr, head.a_data); addr += head.a_data; @@ -279,7 +279,7 @@ loadprog(void) /* Skip over the uninitialised data */ /* (but clear it) */ /********************************************************/ - printf("bss=0x%x ", head.a_bss); + printf("bss=0x%lx ", head.a_bss); /* * XXX however, we should be checking that we don't load ... into @@ -306,7 +306,7 @@ loadprog(void) /********************************************************/ /* Load the symbol table */ /********************************************************/ - printf("symbols=[+0x%x+0x%x+0x%x", pad, sizeof(head.a_syms), + printf("symbols=[+0x%x+0x%x+0x%lx", pad, sizeof(head.a_syms), head.a_syms); xread((void *)addr, head.a_syms); addr += head.a_syms; |