From: Michael Walle Date: Wed, 12 Oct 2016 22:35:05 +0000 (+0200) Subject: target-lm32: swap operand of wcsr in LOG_DIS() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=49285e11d8ce90d2fd76d8bf16b330731e220495;p=qemu.git target-lm32: swap operand of wcsr in LOG_DIS() Be consistent with the reference manual. Signed-off-by: Michael Walle Reviewed-by: Peter Maydell Signed-off-by: Michael Tokarev --- diff --git a/target-lm32/translate.c b/target-lm32/translate.c index dc64cc6726..fa8416a81b 100644 --- a/target-lm32/translate.c +++ b/target-lm32/translate.c @@ -865,7 +865,7 @@ static void dec_wcsr(DisasContext *dc) { int no; - LOG_DIS("wcsr r%d, %d\n", dc->r1, dc->csr); + LOG_DIS("wcsr %d, r%d\n", dc->csr, dc->r1); switch (dc->csr) { case CSR_IE: