]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commitdiff
tests/example_error.c: Fix typo in function name.
authorSimon Ruderich <simon@ruderich.org>
Sat, 15 Jun 2013 01:41:06 +0000 (03:41 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 15 Jun 2013 01:41:06 +0000 (03:41 +0200)
tests/example_error.c

index e1140492e6f35a410afc9ec1517e6743553d8395..0ed8746b26ff3138e9938826cdc6e24369777304 100644 (file)
@@ -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, "<message>");
     error_at_line(0, ENOMEM, "file", 42, "<message>");
 
-    error_print_progname = print_prognmae;
+    error_print_progname = print_progname;
     error_one_per_line = 1;
 
     error(0, 0, "<message>");