|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [xenppc-unstable] [XEND][POWERPC] Fix typo where '&' was used i
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 83097e7fee862789896ee5516ca35f35916f6a74
# Parent b17300195f02f7da17f3ad94aed955863ffd4fed
[XEND][POWERPC] Fix typo where '&' was used instead of '%'
found-by: Yi Ge <kudva@xxxxxxxxxxxxxx>
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r b17300195f02 -r 83097e7fee86 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Tue Nov 14 19:46:26 2006 -0500
+++ b/tools/python/xen/xend/XendDomainInfo.py Mon Nov 20 11:21:19 2006 -0500
@@ -2017,7 +2017,7 @@ class XendDomainInfo (Common_XendDomainI
if memory < rma_kb:
raise ValueError("Domain memory must be at least %d KB" % rma_kb)
- if memory & (16 << 10):
+ if memory % (16 << 10):
raise ValueError("Domain memory %dKB must be a multiple of 16MB"
% memory)
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [XenPPC] [xenppc-unstable] [XEND][POWERPC] Fix typo where '&' was used instead of '%',
Xen patchbot-xenppc-unstable <=
|
|
|
|
|