summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2016-08-11 20:49:29 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-08-24 17:40:52 -0700
commit78acb197a0bcded285ad34f1c587b3cfc5801f9b (patch)
tree11fd8c78bf6b3c549ed20d5944293ba8d0cc40b6
parentb7025581e79be5da9a3dd620cc0add7427bd5817 (diff)
downloadchrome-ec-78acb197a0bcded285ad34f1c587b3cfc5801f9b.tar.gz
usb_mux: Correct an error print.
BUG=none BRANCH=none TEST=none Change-Id: Ica208bf8d6f34c856073b06633560de08792976c Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/368590 Reviewed-by: Martin Roth <martinroth@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--driver/usb_mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/usb_mux.c b/driver/usb_mux.c
index fde578da39..b9f6b8d5d3 100644
--- a/driver/usb_mux.c
+++ b/driver/usb_mux.c
@@ -70,7 +70,7 @@ int usb_mux_get(int port, const char **dp_str, const char **usb_str)
res = mux->driver->get(mux->port_addr, &mux_state);
if (res) {
- CPRINTS("Error setting mux port(%d): %d", port, res);
+ CPRINTS("Error getting mux port(%d): %d", port, res);
return 0;
}