Index: stat.c =================================================================== --- stat.c (revision 13206) +++ stat.c (revision 13207) @@ -150,7 +150,7 @@ return; } - pcb_board_count_holes(&hp, &hup, NULL); + pcb_board_count_holes(PCB, &hp, &hup, NULL); pcb_print_utc(buff, sizeof(buff), 0); fprintf(f, "ha:pcb-rnd-board-stats-v1 {\n");