Skip to content

Commit cde325b

Browse files
committed
fix devel mod_test.c
1 parent 7a8dc4c commit cde325b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devel/mod_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static struct mod_info test_info[] = {
5959
{"value3", DETAIL_BIT, 0, STATS_NULL}
6060
};
6161

62-
static void set_cpu_record(struct module *mod, double st_array[],
62+
static void set_test_record(struct module *mod, double st_array[],
6363
U_64 pre_array[], U_64 cur_array[], int inter)
6464
{
6565
int i;
@@ -71,5 +71,5 @@ static void set_cpu_record(struct module *mod, double st_array[],
7171

7272
void mod_register(struct module *mod)
7373
{
74-
register_mod_fileds(mod, "--test", test_usage, test_info, 3, read_test_stats, set_cpu_record);
74+
register_mod_fileds(mod, "--test", test_usage, test_info, 3, read_test_stats, set_test_record);
7575
}

0 commit comments

Comments
 (0)