summaryrefslogtreecommitdiff
path: root/pith/ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/ldap.c')
-rw-r--r--pith/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/ldap.c b/pith/ldap.c
index d40641e4..a007873a 100644
--- a/pith/ldap.c
+++ b/pith/ldap.c
@@ -778,7 +778,7 @@ try_password_again:
*/
switch(args){
case 0:
- snprintf(filter, sizeof(filter), filt_format);
+ snprintf(filter, sizeof(filter), "%s", filt_format);
break;
case 1:
snprintf(filter, sizeof(filter), filt_format, scp);