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 /hw/dma | |
parent | 15e10b3499782df5d2adc0d2941e445a67d78a8a (diff) |
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>
Diffstat (limited to 'hw/dma')
-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 16cf77e7b2..5be3df521d 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; } |