diff options
author | dfr <dfr@FreeBSD.org> | 1999-09-01 09:11:14 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-09-01 09:11:14 +0000 |
commit | 780e80b50782553f48d800ffd0e9f9830fb85364 (patch) | |
tree | 08eb96f597e6ba09e1d80f6443db86127437e530 /sys/boot/common/load_aout.c | |
parent | f6c539b7049c35b0ee6eea4a8a7cd3c49d2f8770 (diff) | |
download | FreeBSD-src-780e80b50782553f48d800ffd0e9f9830fb85364.zip FreeBSD-src-780e80b50782553f48d800ffd0e9f9830fb85364.tar.gz |
* Fix a stack of warnings.
* Make it possible to type a filename to boot1 so that it is possible to
recover from fatally broken versions of /boot/loader.
* Make a start at a CD boot program (not yet functional).
Diffstat (limited to 'sys/boot/common/load_aout.c')
-rw-r--r-- | sys/boot/common/load_aout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/common/load_aout.c b/sys/boot/common/load_aout.c index 8947a73..4384ac9 100644 --- a/sys/boot/common/load_aout.c +++ b/sys/boot/common/load_aout.c @@ -227,7 +227,7 @@ aout_loadimage(struct loaded_module *mp, int fd, vm_offset_t loadaddr, struct ex addr += sizeof(ehdr->a_syms); /* symbol table */ - printf("symbols=[0x%x+0x%lx", sizeof(ehdr->a_syms), ehdr->a_syms); + printf("symbols=[0x%lx+0x%lx", sizeof(ehdr->a_syms), ehdr->a_syms); if (archsw.arch_readin(fd, addr, ehdr->a_syms) != ehdr->a_syms) return(0); addr += ehdr->a_syms; @@ -237,7 +237,7 @@ aout_loadimage(struct loaded_module *mp, int fd, vm_offset_t loadaddr, struct ex archsw.arch_copyin(&ss, addr, sizeof(ss)); addr += sizeof(ss); ss -= sizeof(ss); - printf("+0x%x+0x%x]", sizeof(ss), ss); + printf("+0x%lx+0x%x]", sizeof(ss), ss); if (archsw.arch_readin(fd, addr, ss) != ss) return(0); addr += ss; |