mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
libvirt-domain: fix the error reporting when use the localhost as target uri
Remove the extra %s in error message when call virReportInvalidArg(). Signed-off-by: Luyao Huang <lhuang@redhat.com>
This commit is contained in:
parent
b02d0c33b0
commit
50be3b44c5
@ -3303,7 +3303,7 @@ virDomainMigrateCheckNotLocal(const char *dconnuri)
|
||||
goto cleanup;
|
||||
if (!tempuri->server || STRPREFIX(tempuri->server, "localhost")) {
|
||||
virReportInvalidArg(dconnuri, "%s",
|
||||
_("Attempt to migrate guest to the same host %s"));
|
||||
_("Attempt to migrate guest to the same host"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user