diff options
author | bde <bde@FreeBSD.org> | 1998-06-30 20:48:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-30 20:48:45 +0000 |
commit | 755fd03ef8c4c7cd442a382538064abb074ea245 (patch) | |
tree | 1dc0fdd586975864287e9c69d45555db8113635e /gnu/usr.bin/gdb | |
parent | 53d1b984ceb16d702513f6990576840c1c5d7cd0 (diff) | |
download | FreeBSD-src-755fd03ef8c4c7cd442a382538064abb074ea245.zip FreeBSD-src-755fd03ef8c4c7cd442a382538064abb074ea245.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r-- | gnu/usr.bin/gdb/gdb/kvm-fbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/gdb/kvm-fbsd.c b/gnu/usr.bin/gdb/gdb/kvm-fbsd.c index eca0f70..1257dc0 100644 --- a/gnu/usr.bin/gdb/gdb/kvm-fbsd.c +++ b/gnu/usr.bin/gdb/gdb/kvm-fbsd.c @@ -496,7 +496,7 @@ kvm_open (efile, cfile, sfile, perm, errout) } physrd (cfd, ksym_lookup ("IdlePTD") - KERNOFF, (char*)&sbr, sizeof sbr); - printf ("IdlePTD %x\n", sbr); + printf ("IdlePTD %lu\n", (unsigned long)sbr); curpcb = ksym_lookup ("curpcb") - KERNOFF; physrd (cfd, curpcb, (char*)&curpcb, sizeof curpcb); @@ -506,7 +506,7 @@ kvm_open (efile, cfile, sfile, perm, errout) else paddr = kvtophys (cfd, curpcb); read_pcb (cfd, paddr); - printf ("initial pcb at %x\n", paddr); + printf ("initial pcb at %lx\n", (unsigned long)paddr); return (cfd); } |