From: Howard Chu Date: Tue, 13 Jan 2015 18:11:49 +0000 (+0000) Subject: Fix fprintf format (coverity) X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2cf553563b49c88f55ebb292724719fd6388c62b;p=openldap Fix fprintf format (coverity) --- diff --git a/servers/slapd/slapmodify.c b/servers/slapd/slapmodify.c index 83cb41c00d..f4e9d7d6ac 100644 --- a/servers/slapd/slapmodify.c +++ b/servers/slapd/slapmodify.c @@ -286,7 +286,7 @@ slapmodify( int argc, char **argv ) } if ( rc != LDAP_SUCCESS ) { - fprintf( stderr, "%s: no such entry \"%s\" in database (lineno=%d)\n", + fprintf( stderr, "%s: no such entry \"%s\" in database (lineno=%lu)\n", progname, ndn.bv_val, lineno ); rc = EXIT_FAILURE; goto cleanup;