Remove excess `0' arguments to fprintf.

This commit is contained in:
Hallvard Furuseth 2003-05-15 11:47:42 +00:00
parent 3821d837a1
commit d426e40e57
3 changed files with 3 additions and 3 deletions

View 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;
}

View 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;
}
}

View 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;