[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] hw/misc/auxbus: Use qemu_log_mask(UNIMP) instead of debug printf
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH] hw/misc/auxbus: Use qemu_log_mask(UNIMP) instead of debug printf |
Date: |
Sat, 6 Jun 2020 09:02:16 +0200 |
Replace a deprecated DPRINTF() call by qemu_log_mask(LOG_UNIMP).
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
hw/misc/auxbus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/misc/auxbus.c b/hw/misc/auxbus.c
index f8e7b97971..06aabf20c5 100644
--- a/hw/misc/auxbus.c
+++ b/hw/misc/auxbus.c
@@ -196,7 +196,7 @@ AUXReply aux_request(AUXBus *bus, AUXCommand cmd, uint32_t
address,
}
break;
default:
- DPRINTF("Not implemented!\n");
+ qemu_log_mask(LOG_UNIMP, "AUX cmd=%u not implemented\n", cmd);
return AUX_NACK;
}
--
2.21.3
- [PATCH] hw/misc/auxbus: Use qemu_log_mask(UNIMP) instead of debug printf,
Philippe Mathieu-Daudé <=