diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-20 23:37:21 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-02-20 23:37:21 +0000 |
commit | 3594c774873fb51fe119c214e78273f43e2556f8 (patch) | |
tree | 9670a1f980fd80ce86abd2bc0bc799eeabd8e12e /hw/mips_r4k.c | |
parent | 32801d54654ecfc41ee7b86b90993c0b83c47f7e (diff) | |
download | qemu-3594c774873fb51fe119c214e78273f43e2556f8.zip qemu-3594c774873fb51fe119c214e78273f43e2556f8.tar.gz qemu-3594c774873fb51fe119c214e78273f43e2556f8.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index 7d3ddd9..63ad367 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); |