From: Simon Ruderich Date: Sat, 15 Jun 2013 01:41:06 +0000 (+0200) Subject: tests/example_error.c: Fix typo in function name. X-Git-Tag: 0.1~36 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=34b3b931362c8d0fce96e390bb8b1ea94d6a4101;p=coloredstderr%2Fcoloredstderr.git tests/example_error.c: Fix typo in function name. --- diff --git a/tests/example_error.c b/tests/example_error.c index e114049..0ed8746 100644 --- a/tests/example_error.c +++ b/tests/example_error.c @@ -31,7 +31,7 @@ void (*error_print_progname)(void); -static void print_prognmae(void) { +static void print_progname(void) { fprintf(stderr, "PROG"); } @@ -46,7 +46,7 @@ int main(int argc unused, char **argv unused) { error_at_line(0, ENOMEM, "file", 42, ""); error_at_line(0, ENOMEM, "file", 42, ""); - error_print_progname = print_prognmae; + error_print_progname = print_progname; error_one_per_line = 1; error(0, 0, "");