aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/mgmt-task.c
diff options
context:
space:
mode:
Diffstat (limited to 'projects/hsm/mgmt-task.c')
-rw-r--r--projects/hsm/mgmt-task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/hsm/mgmt-task.c b/projects/hsm/mgmt-task.c
index 12ce2b8..1658a80 100644
--- a/projects/hsm/mgmt-task.c
+++ b/projects/hsm/mgmt-task.c
@@ -69,7 +69,7 @@ static int cmd_task_show(struct cli_def *cli, const char *command, char *argv[],
return CLI_OK;
}
-#ifdef TASK_METRICS
+#ifdef DO_TASK_METRICS
static int cmd_task_show_metrics(struct cli_def *cli, const char *command, char *argv[], int argc)
{
struct task_metrics tm;
@@ -97,7 +97,7 @@ void configure_cli_task(struct cli_def *cli)
/* task show */
struct cli_command *c_show = cli_register_command(cli, c, "show", cmd_task_show, 0, 0, "Show the active tasks");
-#ifdef TASK_METRICS
+#ifdef DO_TASK_METRICS
/* task show metrics */
cli_register_command(cli, c_show, "metrics", cmd_task_show_metrics, 0, 0, "Show task metrics");