summaryrefslogtreecommitdiffstats
path: root/commands/selftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/selftest.c')
-rw-r--r--commands/selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/selftest.c b/commands/selftest.c
index a10f1467fe..bb62575aa7 100644
--- a/commands/selftest.c
+++ b/commands/selftest.c
@@ -24,7 +24,7 @@ static int run_selftest(const char *match, bool list)
if (match && strcmp(test->name, match))
continue;
- err |= test->func();
+ err |= selftest_run(test);
matches++;
}