summaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/console.c b/common/console.c
index 785f71ce56..a935028e30 100644
--- a/common/console.c
+++ b/common/console.c
@@ -766,7 +766,7 @@ static int command_history(int argc, char **argv)
return EC_SUCCESS;
}
-DECLARE_CONSOLE_COMMAND(history, command_history,
- NULL,
- "Print console history");
+DECLARE_SAFE_CONSOLE_COMMAND(history, command_history,
+ NULL,
+ "Print console history");
#endif