summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2019-10-24 21:00:26 -0700
committerCommit Bot <commit-bot@chromium.org>2019-11-01 03:02:57 +0000
commitadc5678d1979b4f2bd52a5d70b5f0a08cefad8f9 (patch)
tree99316100e02a869bc2bf9ba21745177fccddd176 /driver
parentfc8aa25ddec6c139cf04db1311395294e26897b2 (diff)
downloadchrome-ec-adc5678d1979b4f2bd52a5d70b5f0a08cefad8f9.tar.gz
tcpci: fix tcpc_alert error message
this adds a missing newline to the end of a CPRINTF format string. BRANCH=none BUG=none TEST=builall passes Change-Id: I4a380983bce107af7a0f6eb7304bb9090c5b621a Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1886033 Reviewed-by: Caveh Jalali <caveh@google.com> Commit-Queue: Sean Abraham <seanabraham@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r--driver/tcpm/tcpci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/tcpm/tcpci.c b/driver/tcpm/tcpci.c
index a07d4d848e..2bb6a21c11 100644
--- a/driver/tcpm/tcpci.c
+++ b/driver/tcpm/tcpci.c
@@ -662,8 +662,8 @@ void tcpci_tcpc_alert(int port)
/* Ensure we don't loop endlessly */
if (failed_attempts >= MAX_ALLOW_FAILED_RX_READS) {
- CPRINTF("C%d Cannot consume RX buffer after %d failed "
- "attempts!", port, failed_attempts);
+ CPRINTS("C%d Cannot consume RX buffer after %d failed attempts!",
+ port, failed_attempts);
/*
* The port is in a bad state, we don't want to consume
* all EC resources so suspend the port for a little