mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
tests: Do not use "\n" in g_test_message() strings
g_test_message() takes care of the newline on its own, so we should not use \n in the strings here. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
142659b89c
commit
13ee9e30c8
8 changed files with 24 additions and 26 deletions
|
@ -74,7 +74,7 @@ static inline unsigned in_reg(IVState *s, enum Reg reg)
|
|||
unsigned res;
|
||||
|
||||
res = qpci_io_readl(s->dev, s->reg_bar, reg);
|
||||
g_test_message("*%s -> %x\n", name, res);
|
||||
g_test_message("*%s -> %x", name, res);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ static inline void out_reg(IVState *s, enum Reg reg, unsigned v)
|
|||
{
|
||||
const char *name = reg2str(reg);
|
||||
|
||||
g_test_message("%x -> *%s\n", v, name);
|
||||
g_test_message("%x -> *%s", v, name);
|
||||
qpci_io_writel(s->dev, s->reg_bar, reg, v);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue