Patchwork [1/4] target-s390x: Fix debug output (continued)

login
register
mail settings
Submitter Alexander Graf
Date Feb. 1, 2013, 1:02 a.m.
Message ID <1359680581-6091-2-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/217324/
State New
Headers show

Comments

Alexander Graf - Feb. 1, 2013, 1:02 a.m.
From: Andreas Färber <afaerber@suse.de>

Since its introduction in d5a439645a5a70fed5431318c3bce9dc2caa950f
(s390x: helper functions for system emulation) the variable name was
raddr. Fix this.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 target-s390x/helper.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/target-s390x/helper.c b/target-s390x/helper.c
index 857c897..d693a10 100644
--- a/target-s390x/helper.c
+++ b/target-s390x/helper.c
@@ -404,8 +404,8 @@  int cpu_s390x_handle_mmu_fault(CPUS390XState *env, target_ulong orig_vaddr,
 
     /* check out of RAM access */
     if (raddr > (ram_size + virtio_size)) {
-        DPRINTF("%s: aaddr %" PRIx64 " > ram_size %" PRIx64 "\n", __func__,
-                (uint64_t)aaddr, (uint64_t)ram_size);
+        DPRINTF("%s: raddr %" PRIx64 " > ram_size %" PRIx64 "\n", __func__,
+                (uint64_t)raddr, (uint64_t)ram_size);
         trigger_pgm_exception(env, PGM_ADDRESSING, ILEN_LATER);
         return 1;
     }