]> git.sur5r.net Git - openldap/commitdiff
Fix fprintf format (coverity)
authorHoward Chu <hyc@openldap.org>
Tue, 13 Jan 2015 18:11:49 +0000 (18:11 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 13 Jan 2015 18:11:49 +0000 (18:11 +0000)
servers/slapd/slapmodify.c

index 83cb41c00dcc7e8bc32d7f7924a0974e53522fe7..f4e9d7d6ac0b87c98013089c0fb4e0d85faa28ce 100644 (file)
@@ -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;