From: Francois Fleuret Date: Mon, 10 Oct 2011 06:48:05 +0000 (+0200) Subject: Prints the full hash table error in stderr. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=35992e31e1164181a66c5b8d63fb060d46c46195;p=selector.git Prints the full hash table error in stderr. --- diff --git a/selector.c b/selector.c index 2b51cf6..7f64eba 100644 --- a/selector.c +++ b/selector.c @@ -291,7 +291,8 @@ int add_and_get_previous_index(struct hash_table_t *hash_table, /* We came back to our original code, which means that the table is full */ if(code == start) { - printf("Full hash table (that should not happen)\n"); + fprintf(stderr, + "Full hash table (that should not happen)\n"); exit(EXIT_FAILURE); } }