summaryrefslogtreecommitdiffstats
path: root/api/examples/getvolfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/examples/getvolfile.py')
-rwxr-xr-xapi/examples/getvolfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/examples/getvolfile.py b/api/examples/getvolfile.py
index 0c95213f0b6..32c2268b313 100755
--- a/api/examples/getvolfile.py
+++ b/api/examples/getvolfile.py
@@ -3,7 +3,7 @@
import ctypes
import ctypes.util
-api = ctypes.CDLL(ctypes.util.find_library("gfapi"))
+api = ctypes.CDLL("libgfapi.so")
api.glfs_get_volfile.argtypes = [ctypes.c_void_p,
ctypes.c_void_p,
ctypes.c_ulong]