diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index dcca1ef141..6a3a90d511 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -415,7 +415,7 @@ main( int argc, char **argv ) filtpattern ); if ( attrs == NULL ) { - printf( "ALL" ); + fprintf( stderr, "ALL" ); } else { for ( i = 0; attrs[ i ] != NULL; ++i ) { fprintf( stderr, "%s ", attrs[ i ] );