summaryrefslogtreecommitdiffstats
path: root/gluster/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'gluster/api.py')
-rwxr-xr-xgluster/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gluster/api.py b/gluster/api.py
index c7270bb..c0bad67 100755
--- a/gluster/api.py
+++ b/gluster/api.py
@@ -348,8 +348,8 @@ glfs_fdatasync = gfapi_prototype('glfs_fdatasync', ctypes.c_int,
glfs_fsync = gfapi_prototype('glfs_fsync', ctypes.c_int,
ctypes.c_void_p)
-glfs_lseek = gfapi_prototype('glfs_lseek', ctypes.c_ulong,
- ctypes.c_void_p, ctypes.c_ulong,
+glfs_lseek = gfapi_prototype('glfs_lseek', ctypes.c_int,
+ ctypes.c_void_p, ctypes.c_int,
ctypes.c_int)
glfs_read = gfapi_prototype('glfs_read', ctypes.c_ssize_t,