summaryrefslogtreecommitdiff
path: root/source/utils/smbcontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/utils/smbcontrol.c')
-rw-r--r--source/utils/smbcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/smbcontrol.c b/source/utils/smbcontrol.c
index 7c292dd521c..034de91ce01 100644
--- a/source/utils/smbcontrol.c
+++ b/source/utils/smbcontrol.c
@@ -107,7 +107,7 @@ Prints out the current Debug level returned by MSG_DEBUGLEVEL
****************************************************************************/
void debuglevel_function(int msg_type, pid_t src, void *buf, size_t len)
{
- char *levels = (char *)buf;
+ const char *levels = (char *)buf;
pstring dbgcl;
printf("Current debug levels of PID %u are:\n",(unsigned int)src);