X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_openvim%2Fhost_thread.py;fp=osm_openvim%2Fhost_thread.py;h=620f25ca417c026851efc74061ee441ec9714e71;hb=1dd7eb21dfcdaf398edcbc3b8f5398ecdc4f6663;hp=9fe52741ede763986c724308a62149cbc179b6c9;hpb=1ff6c02ecff38378a4d7366e223cefd30670602e;p=osm%2Fopenvim.git
diff --git a/osm_openvim/host_thread.py b/osm_openvim/host_thread.py
index 9fe5274..620f25c 100644
--- a/osm_openvim/host_thread.py
+++ b/osm_openvim/host_thread.py
@@ -518,7 +518,7 @@ class host_thread(threading.Thread):
if topo == "oneSocket:hyperthreading":
if vcpus % 2 != 0:
return -1, 'Cannot expose hyperthreading with an odd number of vcpus'
- text += self.tab() + " " % vcpus/2
+ text += self.tab() + " " % (vcpus/2)
elif windows_os or topo == "oneSocket":
text += self.tab() + " " % vcpus
else: