remove extra flag

This commit is contained in:
Nikolay Khabarov
2017-05-14 14:57:37 +03:00
parent e4e36aa57b
commit d59b058caa

View File

@@ -129,7 +129,7 @@ class PhysicalMemory(object):
@staticmethod
def _open_dev(name):
fd = os.open(name, os.O_SYNC | os.O_RDWR | os.O_LARGEFILE)
fd = os.open(name, os.O_SYNC | os.O_RDWR)
if fd < 0:
raise IOError("Failed to open " + name)
return fd