tests/qtest: Fix two format strings
Signed-off-by: Stefan Weil <sw@weilnetz.de> Message-Id: <20221105115525.623059-1-sw@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
624ee20cb9
commit
d46e6bba55
@ -2188,7 +2188,7 @@ static void calc_dirty_rate(QTestState *who, uint64_t calc_time)
|
||||
qobject_unref(qmp_command(who,
|
||||
"{ 'execute': 'calc-dirty-rate',"
|
||||
"'arguments': { "
|
||||
"'calc-time': %ld,"
|
||||
"'calc-time': %" PRIu64 ","
|
||||
"'mode': 'dirty-ring' }}",
|
||||
calc_time));
|
||||
}
|
||||
@ -2203,7 +2203,7 @@ static void dirtylimit_set_all(QTestState *who, uint64_t dirtyrate)
|
||||
qobject_unref(qmp_command(who,
|
||||
"{ 'execute': 'set-vcpu-dirty-limit',"
|
||||
"'arguments': { "
|
||||
"'dirty-rate': %ld } }",
|
||||
"'dirty-rate': %" PRIu64 " } }",
|
||||
dirtyrate));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user