summaryrefslogtreecommitdiff
path: root/lib/param/param_functions.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-10-14 15:33:20 +1300
committerStefan Metzmacher <metze@samba.org>2013-10-16 09:27:47 +0200
commit785e8d8c326eeb5f76b41584cf7ca86bee9feab4 (patch)
treeb2e061bcfd95b37e64de8dcbced794e397414c6f /lib/param/param_functions.c
parenta4c3553b5ad4c016a4154f1077e78fb83c791a30 (diff)
downloadsamba-785e8d8c326eeb5f76b41584cf7ca86bee9feab4.tar.gz
samba-785e8d8c326eeb5f76b41584cf7ca86bee9feab4.tar.bz2
samba-785e8d8c326eeb5f76b41584cf7ca86bee9feab4.zip
lib/param: lp_magicchar takes a const struct share_params *p so should be FN_LOCAL_PARM_CHAR
This was found when trying to autogenerate prototypes for lp_ functions again. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/param/param_functions.c')
-rw-r--r--lib/param/param_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 61f00448ca..c4071c9d33 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -147,7 +147,7 @@ FN_LOCAL_INTEGER(aio_write_size, iAioWriteSize)
FN_LOCAL_INTEGER(map_readonly, iMap_readonly)
FN_LOCAL_INTEGER(directory_name_cache_size, iDirectoryNameCacheSize)
FN_LOCAL_INTEGER(smb_encrypt, ismb_encrypt)
-FN_LOCAL_CHAR(magicchar, magic_char)
+FN_LOCAL_PARM_CHAR(magicchar, magic_char)
FN_LOCAL_STRING(cups_options, szCupsOptions)
FN_LOCAL_PARM_BOOL(change_notify, bChangeNotify)
FN_LOCAL_PARM_BOOL(kernel_change_notify, bKernelChangeNotify)