]> git.sur5r.net Git - openldap/commitdiff
Remove excess `0' arguments to fprintf.
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 15 May 2003 11:47:42 +0000 (11:47 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 15 May 2003 11:47:42 +0000 (11:47 +0000)
servers/slapd/back-bdb/tools.c
servers/slapd/mods.c
servers/slurpd/main.c

index 32d9bb5ff1248fd8592eaa7efa9d07c5994a9a53..681b13fdb9a109cca88c8dec0afde863764dc762 100644 (file)
@@ -62,7 +62,7 @@ int bdb_tool_entry_close(
                fprintf( stderr, "Error, entries missing!\n");
                for (i=0; i<nholes; i++) {
                        fprintf(stderr, "  entry %ld: %s\n",
-                               holes[i].id, holes[i].dn.bv_val, 0);
+                               holes[i].id, holes[i].dn.bv_val);
                }
                return -1;
        }
index cb09775ac8217b12ec0b9f07c15059d2b372c3d4..e097e44b8ccf59c83c84ebdbb7a8ece4cd8765e2 100644 (file)
@@ -164,7 +164,7 @@ modify_add_values(
                                                *text = textbuf;
                                                snprintf( textbuf, textlen,
                                                        "modify/%s: %s: value #0 already exists",
-                                                       op, mod->sm_desc->ad_cname.bv_val, 0 );
+                                                       op, mod->sm_desc->ad_cname.bv_val );
                                                return LDAP_TYPE_OR_VALUE_EXISTS;
                                        }
                                }
index c12f9e9022ebcc227f5ab6ee9930e409702b732c..6db0b0fbee9ec41020e7576a9544485f0870c14b 100644 (file)
@@ -161,7 +161,7 @@ int main( int argc, char **argv )
      */
     if ( sglob->st->st_read( sglob->st )) {
        fprintf( stderr, "Malformed slurpd status file \"%s\"\n",
-               sglob->slurpd_status_file, 0, 0 );
+               sglob->slurpd_status_file );
        SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 17 );
        rc = 1;
        goto stop;