diff options
author | Gonglei <arei.gonglei@huawei.com> | 2015-02-25 12:22:28 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-03-10 08:15:33 +0300 |
commit | 15e10b3499782df5d2adc0d2941e445a67d78a8a (patch) | |
tree | ed60ce72dc14955d81d4dfcab5d35f457d5b4358 | |
parent | eec5eb42f597e652ad3b32d7bf13252966c4e85e (diff) | |
download | hqemu-15e10b3499782df5d2adc0d2941e445a67d78a8a.zip hqemu-15e10b3499782df5d2adc0d2941e445a67d78a8a.tar.gz |
a9gtimer: 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/timer/a9gtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/a9gtimer.c b/hw/timer/a9gtimer.c index 435142a..b087bbd 100644 --- a/hw/timer/a9gtimer.c +++ b/hw/timer/a9gtimer.c @@ -289,7 +289,7 @@ static void a9_gtimer_realize(DeviceState *dev, Error **errp) int i; if (s->num_cpu < 1 || s->num_cpu > A9_GTIMER_MAX_CPUS) { - error_setg(errp, "%s: num-cpu must be between 1 and %d\n", + error_setg(errp, "%s: num-cpu must be between 1 and %d", __func__, A9_GTIMER_MAX_CPUS); return; } |