summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-21 17:05:46 +0200
committerMichael Adam <obnox@samba.org>2011-07-21 17:24:17 +0200
commit81e4d1f63d1b14cd1c1265f1d1b571d47cc62ea6 (patch)
treef0da820bc81a2ed93474e79560eb06ffc9d6c903 /source3
parent72f23c7ba30e18468e199aa943dc0a4bdf790136 (diff)
downloadsamba-81e4d1f63d1b14cd1c1265f1d1b571d47cc62ea6.tar.gz
samba-81e4d1f63d1b14cd1c1265f1d1b571d47cc62ea6.tar.bz2
samba-81e4d1f63d1b14cd1c1265f1d1b571d47cc62ea6.zip
s3:loadparm: add support for P_BYTES to print_parameter() - fix build warning.
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 8b9d7d9682..afa1bf06a6 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -7548,6 +7548,7 @@ static void print_parameter(struct parm_struct *p, void *ptr, FILE * f)
break;
case P_INTEGER:
+ case P_BYTES:
fprintf(f, "%d", *(int *)ptr);
break;