mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
[XEND] Fix a couple of error-message typos.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
1 parent
b2dc3a1d39
commit
1e4f24bfe2
1 file changed
+2
-2
@@ -428,7 +428,7 @@ class XendDomain:
|
||||
raise XendInvalidDomain(str(domid))
|
||||
|
||||
if dominfo.getDomid() == PRIV_DOMAIN:
|
||||
raise XendError("Cannot migrate privileged domain %i" % domid)
|
||||
raise XendError("Cannot migrate privileged domain %s" % domid)
|
||||
|
||||
""" The following call may raise a XendError exception """
|
||||
dominfo.testMigrateDevices(True, dst)
|
||||
@@ -458,7 +458,7 @@ class XendDomain:
|
||||
raise XendInvalidDomain(str(domid))
|
||||
|
||||
if dominfo.getDomid() == PRIV_DOMAIN:
|
||||
raise XendError("Cannot save privileged domain %i" % domid)
|
||||
raise XendError("Cannot save privileged domain %s" % domid)
|
||||
|
||||
fd = os.open(dst, os.O_WRONLY | os.O_CREAT | os.O_TRUNC)
|
||||
try:
|
||||
|
||||