summaryrefslogtreecommitdiffstats
path: root/py/mock/uid.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/mock/uid.py')
-rw-r--r--py/mock/uid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mock/uid.py b/py/mock/uid.py
index 5729d5c..b3fbeff 100644
--- a/py/mock/uid.py
+++ b/py/mock/uid.py
@@ -70,7 +70,7 @@ class uidManager(object):
# python doesnt have native versions of these. :(
import ctypes
-_libc = ctypes.cdll.LoadLibrary("libc.so.6")
+_libc = ctypes.cdll.LoadLibrary(None)
_errno = ctypes.c_int.in_dll(_libc, "errno")
def getresuid():