summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/contrib/ovs/socket_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/contrib/ovs/socket_util.py b/ryu/contrib/ovs/socket_util.py
index 843a5a99..89ca16a3 100644
--- a/ryu/contrib/ovs/socket_util.py
+++ b/ryu/contrib/ovs/socket_util.py
@@ -58,7 +58,7 @@ def make_unix_socket(style, nonblock, bind_path, connect_path):
if sys.hexversion >= 0x02060000:
os.fchmod(sock.fileno(), 0o700)
else:
- os.chmod("/dev/fd/%d" % sock.fileno(), 0700)
+ os.chmod("/dev/fd/%d" % sock.fileno(), 0o700)
except OSError as e:
pass
if connect_path is not None: