summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/device_state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/device_state.c b/common/device_state.c
index 17c32a7054..ee82846b84 100644
--- a/common/device_state.c
+++ b/common/device_state.c
@@ -48,6 +48,6 @@ static int command_devices(int argc, char **argv)
return EC_SUCCESS;
}
-DECLARE_CONSOLE_COMMAND(devices, command_devices,
- "",
- "Get the device states");
+DECLARE_SAFE_CONSOLE_COMMAND(devices, command_devices,
+ "",
+ "Get the device states");