summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang Han2021-01-15 02:24:29 +0100
committerGerd Hoffmann2021-01-15 11:49:26 +0100
commitdea7d84fcf51b24f9ff485a50cf76542b841728e (patch)
tree84d99802cd0e5436d8e1b7d06ed24d0651be4ee1
parentaudio: Fix lines over 90 characters (diff)
downloadqemu-dea7d84fcf51b24f9ff485a50cf76542b841728e.tar.gz
qemu-dea7d84fcf51b24f9ff485a50cf76542b841728e.tar.xz
qemu-dea7d84fcf51b24f9ff485a50cf76542b841728e.zip
audio: Don't use '%#' in format strings
Use '0x' prefix instead of '%#' Signed-off-by: Zhang Han <zhanghan64@huawei.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210115012431.79533-1-zhanghan64@huawei.com Message-Id: <20210115012431.79533-6-zhanghan64@huawei.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--audio/dsoundaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/dsoundaudio.c b/audio/dsoundaudio.c
index 3b4afb9496..cfc79c129e 100644
--- a/audio/dsoundaudio.c
+++ b/audio/dsoundaudio.c
@@ -215,7 +215,7 @@ static void dsound_log_hresult (HRESULT hr)
break;
#endif
default:
- AUD_log (AUDIO_CAP, "Reason: Unknown (HRESULT %#lx)\n", hr);
+ AUD_log (AUDIO_CAP, "Reason: Unknown (HRESULT 0x%lx)\n", hr);
return;
}