summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--power/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/power/common.c b/power/common.c
index bdad26842b..ea5bad51f8 100644
--- a/power/common.c
+++ b/power/common.c
@@ -768,7 +768,7 @@ static int command_powerinfo(int argc, char **argv)
* Print power state in same format as state machine. This is
* used by FAFT tests, so must match exactly.
*/
- ccprints("power state %d = %s, in 0x%04x",
+ ccprintf("power state %d = %s, in 0x%04x\n",
state, state_names[state], in_signals);
return EC_SUCCESS;