diff options
Diffstat (limited to 'hw/misc/tmp421.c')
-rw-r--r-- | hw/misc/tmp421.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/tmp421.c b/hw/misc/tmp421.c index c234044..eeb1100 100644 --- a/hw/misc/tmp421.c +++ b/hw/misc/tmp421.c @@ -153,7 +153,7 @@ static void tmp421_set_temperature(Object *obj, Visitor *v, const char *name, } if (temp >= maxs[ext_range] || temp < mins[ext_range]) { - error_setg(errp, "value %" PRId64 ".%03" PRIu64 " °C is out of range", + error_setg(errp, "value %" PRId64 ".%03" PRIu64 " C is out of range", temp / 1000, temp % 1000); return; } |