Add missing snprintf args in debug output

This commit is contained in:
Hallvard Furuseth 2006-04-02 16:37:52 +00:00
parent 6c772f2057
commit b90c3d6fd3

View File

@ -645,6 +645,7 @@ parse_acl(
snprintf( buf, sizeof( buf ), "%s: line %d: " snprintf( buf, sizeof( buf ), "%s: line %d: "
" attr \"%s\" normalization failed (%d: %s)", " attr \"%s\" normalization failed (%d: %s)",
fname, lineno,
a->acl_attrs[ 0 ].an_name.bv_val, rc, text ); a->acl_attrs[ 0 ].an_name.bv_val, rc, text );
Debug( LDAP_DEBUG_ANY, "%s: line %d: %s.\n", Debug( LDAP_DEBUG_ANY, "%s: line %d: %s.\n",
fname, lineno, buf ); fname, lineno, buf );