Skip to content
Snippets Groups Projects
Commit d426e40e authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Remove excess `0' arguments to fprintf.

parent 3821d837
Branches
Tags
No related merge requests found
......@@ -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;
}
......
......@@ -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;
}
}
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment