s3-aio-pthread: num threads should be int
[metze/samba/wip.git] / source3 / modules / vfs_aio_pthread.c
index b6d4e1ef35e5161196aa1f45e3a9f150cc727409..aeacf2895eb4374fead09f374e7167f81bea56eb 100644 (file)
@@ -61,10 +61,8 @@ static void aio_pthread_handle_completion(struct event_context *event_ctx,
 
 static int aio_get_num_threads(struct vfs_handle_struct *handle)
 {
-       return lp_parm_bool(SNUM(handle->conn),
-                               "aio_pthread",
-                               "aio num threads",
-                               100);
+       return lp_parm_int(SNUM(handle->conn),
+                          "aio_pthread", "aio num threads", 100);
 }
 
 /************************************************************************