diff options
-rw-r--r-- | usr.bin/ldap/aldap.c | 6 |
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: |