diff options
author | Evan Green <evgreen@chromium.org> | 2019-09-23 13:19:18 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-05 00:47:52 +0000 |
commit | 7200037dfc674977bffc3d58a15547d97f3ef681 (patch) | |
tree | e9b7630db4f17ec7bf6fbaf01322a05ff0ee6419 /baseboard | |
parent | 2eade31e87a7662dc03dcead556917dfa13d0983 (diff) | |
download | chrome-ec-7200037dfc674977bffc3d58a15547d97f3ef681.tar.gz |
printf: Fix formatting errors
This change fixes the printf formatting errors found by the
compile-time prinf format checker. The errors fall into a few
categories:
1. Incorrect size specifier (missing or extra l).
2. Missing or extra arguments.
3. Bad line splitting.
BUG=chromium:984041
TEST=make -j buildall
BRANCH=none
Change-Id: I5618097a581210b9fcbfc81560dec050ae30b61c
Signed-off-by: Evan Green <evgreen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1819653
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/grunt/baseboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/grunt/baseboard.c b/baseboard/grunt/baseboard.c index 8350f3a060..fe25dec5c9 100644 --- a/baseboard/grunt/baseboard.c +++ b/baseboard/grunt/baseboard.c @@ -440,7 +440,7 @@ int board_set_active_charge_port(int port) /* Enable requested charge port. */ if (ppc_vbus_sink_enable(port, 1)) { - CPRINTS("p%d: sink enable failed."); + CPRINTS("p%d: sink enable failed.", port); return EC_ERROR_UNKNOWN; } |