mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
error: Strip trailing '\n' from an error string argument
Tracked down with scripts/coccinelle/err-bad-newline.cocci. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20250312143504.1659061-1-armbru@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Song Gao <gaosong@loongson.cn>
This commit is contained in:
parent
1c89dfefc4
commit
1dd24ccf82
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ ssize_t vmnet_receive_common(NetClientState *nc,
|
|||
|
||||
if_status = vmnet_write(s->vmnet_if, &packet, &pkt_cnt);
|
||||
if (if_status != VMNET_SUCCESS) {
|
||||
error_report("vmnet: write error: %s\n",
|
||||
error_report("vmnet: write error: %s",
|
||||
vmnet_status_map_str(if_status));
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue