aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-20 23:37:21 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-20 23:37:21 +0000
commit3594c774873fb51fe119c214e78273f43e2556f8 (patch)
tree9670a1f980fd80ce86abd2bc0bc799eeabd8e12e /hw/mips_r4k.c
parent2nd serial port for Malta, by Jason Wessel. (diff)
downloadqemu-kvm-3594c774873fb51fe119c214e78273f43e2556f8.tar.gz
qemu-kvm-3594c774873fb51fe119c214e78273f43e2556f8.tar.bz2
qemu-kvm-3594c774873fb51fe119c214e78273f43e2556f8.zip
Replace TLSZ with TARGET_FMT_lx.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2444 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_r4k.c')
-rw-r--r--hw/mips_r4k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index 7d3ddd934..63ad36720 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -103,7 +103,7 @@ void load_kernel (CPUState *env, int ram_size, const char *kernel_filename,
if (initrd_size > 0) {
int ret;
ret = sprintf(phys_ram_base + (16 << 20) - 256,
- "rd_start=0x" TLSZ " rd_size=%li ",
+ "rd_start=0x" TARGET_FMT_lx " rd_size=%li ",
INITRD_LOAD_ADDR,
initrd_size);
strcpy (phys_ram_base + (16 << 20) - 256 + ret, kernel_cmdline);