mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
hppa: Fix printf warnings in hppa-dis.c.
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
2a6a665f16
commit
4d506cebd3
@ -1771,13 +1771,13 @@ static const char *const add_compl_names[] = { 0, "", ",l", ",tsv" };
|
||||
static void
|
||||
fput_reg (unsigned reg, disassemble_info *info)
|
||||
{
|
||||
(*info->fprintf_func) (info->stream, reg ? reg_names[reg] : "r0");
|
||||
(*info->fprintf_func) (info->stream, "%s", reg ? reg_names[reg] : "r0");
|
||||
}
|
||||
|
||||
static void
|
||||
fput_fp_reg (unsigned reg, disassemble_info *info)
|
||||
{
|
||||
(*info->fprintf_func) (info->stream, reg ? fp_reg_names[reg] : "fr0");
|
||||
(*info->fprintf_func) (info->stream, "%s", reg ? fp_reg_names[reg] : "fr0");
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1794,7 +1794,7 @@ fput_fp_reg_r (unsigned reg, disassemble_info *info)
|
||||
static void
|
||||
fput_creg (unsigned reg, disassemble_info *info)
|
||||
{
|
||||
(*info->fprintf_func) (info->stream, control_reg[reg]);
|
||||
(*info->fprintf_func) (info->stream, "%s", control_reg[reg]);
|
||||
}
|
||||
|
||||
/* Print constants with sign. */
|
||||
|
Loading…
Reference in New Issue
Block a user