diff mbox

Debugcon: Fix debugging printf

Message ID 20100401214525.GB23153@os.inf.tu-dresden.de
State New
Headers show

Commit Message

Adam Lackorzynski April 1, 2010, 9:45 p.m. UTC
Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
---
 hw/debugcon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Aurelien Jarno April 8, 2010, 7:44 p.m. UTC | #1
On Thu, Apr 01, 2010 at 11:45:25PM +0200, Adam Lackorzynski wrote:
> Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>


Thanks, applied.

> ---
>  hw/debugcon.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/debugcon.c b/hw/debugcon.c
> index d549091..5ee6821 100644
> --- a/hw/debugcon.c
> +++ b/hw/debugcon.c
> @@ -60,7 +60,7 @@ static uint32_t debugcon_ioport_read(void *opaque, uint32_t addr)
>      DebugconState *s = opaque;
>  
>  #ifdef DEBUG_DEBUGCON
> -    printf("debugcon: read addr=0x%04x\n", addr, val);
> +    printf("debugcon: read addr=0x%04x\n", addr);
>  #endif
>  
>      return s->readback;
> -- 
> 1.7.0.3
> 
> 
> Adam
> -- 
> Adam                 adam@os.inf.tu-dresden.de
>   Lackorzynski         http://os.inf.tu-dresden.de/~adam/
> 
> 
>
diff mbox

Patch

diff --git a/hw/debugcon.c b/hw/debugcon.c
index d549091..5ee6821 100644
--- a/hw/debugcon.c
+++ b/hw/debugcon.c
@@ -60,7 +60,7 @@  static uint32_t debugcon_ioport_read(void *opaque, uint32_t addr)
     DebugconState *s = opaque;
 
 #ifdef DEBUG_DEBUGCON
-    printf("debugcon: read addr=0x%04x\n", addr, val);
+    printf("debugcon: read addr=0x%04x\n", addr);
 #endif
 
     return s->readback;