summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 18cccda935..6ff97b88da 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -1192,7 +1192,7 @@ void *sys_dlopen(const char *name, int flags)
#endif
}
-void *sys_dlsym(void *handle, char *symbol)
+void *sys_dlsym(void *handle, const char *symbol)
{
#if defined(HAVE_DLSYM)
return dlsym(handle, symbol);