mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
audio: error hints need a trailing \n
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
a492e287e5
commit
c7c5caeb1f
1 changed files with 1 additions and 1 deletions
|
@ -1833,7 +1833,7 @@ bool AUD_register_card (const char *name, QEMUSoundCard *card, Error **errp)
|
||||||
card->state = audio_init(NULL, errp);
|
card->state = audio_init(NULL, errp);
|
||||||
if (!card->state) {
|
if (!card->state) {
|
||||||
if (!QSIMPLEQ_EMPTY(&audiodevs)) {
|
if (!QSIMPLEQ_EMPTY(&audiodevs)) {
|
||||||
error_append_hint(errp, "Perhaps you wanted to set audiodev=%s?",
|
error_append_hint(errp, "Perhaps you wanted to set audiodev=%s?\n",
|
||||||
QSIMPLEQ_FIRST(&audiodevs)->dev->id);
|
QSIMPLEQ_FIRST(&audiodevs)->dev->id);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue