Add missing fprintf param

This commit is contained in:
Kurt Zeilenga 2000-08-25 23:51:10 +00:00
parent ef3fb24f39
commit f6a1c05b68
5 changed files with 10 additions and 5 deletions

View File

@ -509,7 +509,8 @@ main( int argc, char **argv )
}
if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n",
rc, ldap_err2string(rc) );
return EXIT_FAILURE;
}

View File

@ -576,7 +576,8 @@ main( int argc, char **argv )
}
if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n",
rc, ldap_err2string(rc) );
return EXIT_FAILURE;
}

View File

@ -552,7 +552,8 @@ main(int argc, char **argv)
}
if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n",
rc, ldap_err2string(rc) );
return EXIT_FAILURE;
}

View File

@ -580,7 +580,8 @@ main( int argc, char *argv[] )
}
if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n",
rc, ldap_err2string(rc) );
return EXIT_FAILURE;
}

View File

@ -680,7 +680,8 @@ main( int argc, char **argv )
}
if( ld == NULL ) {
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc );
fprintf( stderr, "Could not create LDAP session handle (%d): %s\n",
rc, ldap_err2string(rc) );
return EXIT_FAILURE;
}