summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--isys/isys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 7532490f8..9c2b5a8d3 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -572,7 +572,7 @@ def ejectCdrom(device, makeDevice = 1):
makeDevInode(device, "/tmp/cdrom")
fd = os.open("/tmp/cdrom", os.O_RDONLY|os.O_NONBLOCK)
else:
- fd = os.open(device, os.O_RDONLY|os.O_NOBLOCK)
+ fd = os.open(device, os.O_RDONLY|os.O_NONBLOCK)
# this is a best effort
try: