From: Volker Lendecke Date: Wed, 18 Jan 2012 17:12:57 +0000 (+0100) Subject: s3-aio-pthread: num threads should be int X-Git-Tag: tevent-0.9.15~307 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=6d141282424f1eb62ee225a32e376162b773e7a8;p=samba.git s3-aio-pthread: num threads should be int Autobuild-User: Volker Lendecke Autobuild-Date: Wed Jan 18 21:04:20 CET 2012 on sn-devel-104 --- diff --git a/source3/modules/vfs_aio_pthread.c b/source3/modules/vfs_aio_pthread.c index b6d4e1ef35e..aeacf2895eb 100644 --- a/source3/modules/vfs_aio_pthread.c +++ b/source3/modules/vfs_aio_pthread.c @@ -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); } /************************************************************************