summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 3ff6b3e22f..366ee13ec2 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3272,7 +3272,8 @@ static void dump_a_service(service * pService, FILE * f)
{
int i;
param_opt_struct *data;
- char *s, *sn;
+ const char *sn;
+ char *s;
if (pService != &sDefault)
fprintf(f, "\n[%s]\n", pService->szService);