Index: client/tests/kvm/scripts/allocator.py |
diff --git a/client/tests/kvm/scripts/allocator.py b/client/tests/kvm/scripts/allocator.py |
index 09dc0042887e62bab511bcb9ecd115c800008b64..227745add1970513cc49b2ab2e1379f0557142b3 100755 |
--- a/client/tests/kvm/scripts/allocator.py |
+++ b/client/tests/kvm/scripts/allocator.py |
@@ -12,7 +12,7 @@ import os, array, sys, struct, random, copy, inspect, tempfile, datetime, math |
PAGE_SIZE = 4096 # machine page size |
-TMPFS_OVERHEAD = 0.0022 # overhead on 1MB of write data |
+TMPFS_OVERHEAD = 0.0022 # overhead on 1MB of write data |
class MemFill(object): |
@@ -34,7 +34,7 @@ class MemFill(object): |
self.tmpdp = tempfile.mkdtemp() |
ret_code = os.system("mount -o size=%dM tmpfs %s -t tmpfs" % |
- ((mem+math.ceil(mem*TMPFS_OVERHEAD)), |
+ ((mem+math.ceil(mem*TMPFS_OVERHEAD)), |
self.tmpdp)) |
if ret_code != 0: |
if os.getuid() != 0: |