diff options
author | Gonglei <arei.gonglei@huawei.com> | 2015-02-25 12:22:29 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-03-10 08:15:33 +0300 |
commit | 0c267a6b40e8a85d3a6dacee853531d1e98da122 (patch) | |
tree | 1710e50788ed3732d5d96135d068341c592dd3f1 | |
parent | 15e10b3499782df5d2adc0d2941e445a67d78a8a (diff) | |
download | qemu-0c267a6b40e8a85d3a6dacee853531d1e98da122.zip qemu-0c267a6b40e8a85d3a6dacee853531d1e98da122.tar.gz qemu-0c267a6b40e8a85d3a6dacee853531d1e98da122.tar.bz2 |
pl330.c: remove superfluous '\n' around error_setg
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | hw/dma/pl330.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dma/pl330.c b/hw/dma/pl330.c index 16cf77e..5be3df5 100644 --- a/hw/dma/pl330.c +++ b/hw/dma/pl330.c @@ -1566,7 +1566,7 @@ static void pl330_realize(DeviceState *dev, Error **errp) s->cfg[1] |= 5; break; default: - error_setg(errp, "Bad value for i-cache_len property: %" PRIx8 "\n", + error_setg(errp, "Bad value for i-cache_len property: %" PRIx8, s->i_cache_len); return; } @@ -1601,7 +1601,7 @@ static void pl330_realize(DeviceState *dev, Error **errp) s->cfg[CFG_CRD] |= 0x4; break; default: - error_setg(errp, "Bad value for data_width property: %" PRIx8 "\n", + error_setg(errp, "Bad value for data_width property: %" PRIx8, s->data_width); return; } |