summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/module.c b/source3/lib/module.c
index 700de56953..763a5c2b2d 100644
--- a/source3/lib/module.c
+++ b/source3/lib/module.c
@@ -127,7 +127,7 @@ void init_modules(void)
/*************************************************************************
* This functions /path/to/foobar.so -> foobar
************************************************************************/
-void module_path_get_name(char *path, pstring name)
+void module_path_get_name(const char *path, pstring name)
{
char *s;