mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Merge commit 'df84f17
' into HEAD
This merge fixes a semantic conflict with the trivial tree. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
commit
673652a785
46 changed files with 2224 additions and 1034 deletions
|
@ -120,7 +120,7 @@ static void tmp421_get_temperature(Object *obj, Visitor *v, const char *name,
|
|||
int tempid;
|
||||
|
||||
if (sscanf(name, "temperature%d", &tempid) != 1) {
|
||||
error_setg(errp, "error reading %s: %m", name);
|
||||
error_setg(errp, "error reading %s: %s", name, g_strerror(errno));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -160,7 +160,7 @@ static void tmp421_set_temperature(Object *obj, Visitor *v, const char *name,
|
|||
}
|
||||
|
||||
if (sscanf(name, "temperature%d", &tempid) != 1) {
|
||||
error_setg(errp, "error reading %s: %m", name);
|
||||
error_setg(errp, "error reading %s: %s", name, g_strerror(errno));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue