summaryrefslogtreecommitdiff
path: root/common/shared_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/shared_mem.c')
-rw-r--r--common/shared_mem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/shared_mem.c b/common/shared_mem.c
index adcc577696..3157f69e38 100644
--- a/common/shared_mem.c
+++ b/common/shared_mem.c
@@ -60,7 +60,7 @@ static int command_shmem(int argc, char **argv)
ccprintf("Max: %6d\n", max_used);
return EC_SUCCESS;
}
-DECLARE_CONSOLE_COMMAND(shmem, command_shmem,
- NULL,
- "Print shared memory stats");
+DECLARE_SAFE_CONSOLE_COMMAND(shmem, command_shmem,
+ NULL,
+ "Print shared memory stats");
#endif