summaryrefslogtreecommitdiff
path: root/usr.bin/ldap/aldap.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2018-06-21 08:27:36 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2018-06-21 08:27:36 +0000
commit7c88664882b0065bf50c1a16b8629d88d17d50d7 (patch)
treea3eade6a7ec13e2243d1390aa0e1b7f5702b9526 /usr.bin/ldap/aldap.c
parent54e9ecb1796cd8087746ef5ace82e3fbee8bdc0a (diff)
Fix DEBUG message
Diffstat (limited to 'usr.bin/ldap/aldap.c')
-rw-r--r--usr.bin/ldap/aldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ldap/aldap.c b/usr.bin/ldap/aldap.c
index ec55f933c07..cf4313e9fb3 100644
--- a/usr.bin/ldap/aldap.c
+++ b/usr.bin/ldap/aldap.c
@@ -1,5 +1,5 @@
-/* $Id: aldap.c,v 1.1 2018/06/13 15:45:57 reyk Exp $ */
-/* $OpenBSD: aldap.c,v 1.1 2018/06/13 15:45:57 reyk Exp $ */
+/* $Id: aldap.c,v 1.2 2018/06/21 08:27:35 reyk Exp $ */
+/* $OpenBSD: aldap.c,v 1.2 2018/06/21 08:27:35 reyk Exp $ */
/*
* Copyright (c) 2008 Alexander Schrijver <aschrijver@openbsd.org>
@@ -1283,7 +1283,7 @@ ldap_debug_elements(struct ber_element *root)
fprintf(stderr, "<INVALID>\n");
break;
}
- fprintf(stderr, "string \"%.*s\"\n", len, buf);
+ fprintf(stderr, "string \"%.*s\"\n", (int)len, buf);
break;
case BER_TYPE_NULL: /* no payload */
case BER_TYPE_EOC: