about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2018-12-03 13:33:29 +0100
committerAjax <commial@gmail.com>2018-12-03 13:33:29 +0100
commitac43d379d252474237f0e6218b51a4bce0669b42 (patch)
tree8add4d53b727eb9e8bd3ae60778646a1c97fefc3
parentb3104648122b721f00a3e7fc88a26c6212f1e17c (diff)
downloadmiasm-ac43d379d252474237f0e6218b51a4bce0669b42.tar.gz
miasm-ac43d379d252474237f0e6218b51a4bce0669b42.zip
Fix typo
-rw-r--r--miasm2/os_dep/linux/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/os_dep/linux/environment.py b/miasm2/os_dep/linux/environment.py
index c4d0536e..4f125563 100644
--- a/miasm2/os_dep/linux/environment.py
+++ b/miasm2/os_dep/linux/environment.py
@@ -243,7 +243,7 @@ class FileSystem(object):
         sb_path = self.resolve_path(path, follow_link=False)
         if not os.path.islink(sb_path):
             return None
-        return os.path.readlink(sb_path)
+        return os.readlink(sb_path)
 
     def statfs(self):
         return StatFSInfo(