summaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-07-07 00:08:34 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-07-07 00:08:34 +0000
commit70629e46f004e6198131f3fe21f8e9ffc9ce39ae (patch)
treeb8f90580515177d020d7862173d7cb0d03a4560d /sys/boot
parentb5d4a42dbe8c117fa31f27f32b95d08ec696bea8 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/load_aout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/common/load_aout.c b/sys/boot/common/load_aout.c
index 4384ac9174e0..48d5723fb746 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%lx+0x%lx", sizeof(ehdr->a_syms), ehdr->a_syms);
+ printf("symbols=[0x%lx+0x%lx", (long)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%lx+0x%x]", sizeof(ss), ss);
+ printf("+0x%lx+0x%x]", (long)sizeof(ss), ss);
if (archsw.arch_readin(fd, addr, ss) != ss)
return(0);
addr += ss;