]> git.ipfire.org Git - thirdparty/qemu.git/commit - util/oslib-posix.c
oslib: strip trailing '\n' from error_setg() string argument
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 16 May 2017 00:11:49 +0000 (21:11 -0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 7 Jun 2017 13:38:44 +0000 (14:38 +0100)
commit462e5d506573e61adce70f53176d5ae85d1ba92a
treea94652c6766dd5d298c32a1526320949e61af067
parent0db1851becbefe3e50cfc03776fb1f75817376af
oslib: strip trailing '\n' from error_setg() string argument

spotted by Coccinelle script scripts/coccinelle/err-bad-newline.cocci

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
util/oslib-posix.c