diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2020-05-27 14:49:44 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-09 00:53:28 +0000 |
commit | 3e238583a45c036fed3aa62a8c82e47b6601e028 (patch) | |
tree | b8edcba421511ef29d03facfedf29bf02f576932 /power | |
parent | 84b959ca35604fe6d9d9d8e2b4088d1900f43ba0 (diff) | |
download | chrome-ec-3e238583a45c036fed3aa62a8c82e47b6601e028.tar.gz |
power: Don't print timestamp for powerinfo command
This patch makes powerinfo command print the result without a timestamp
like other console commands.
This shouldn't break FAFT. If it does, FAFT should be fixed.
BUG=none
BRANCH=none
TEST=buildall
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: I90f032dc2d079d9d674489d2236b05f6051e574f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2219122
Reviewed-by: Craig Hesling <hesling@chromium.org>
Diffstat (limited to 'power')
-rw-r--r-- | power/common.c | 2 |
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; |