diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-05-16 13:52:14 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-16 16:15:28 +0000 |
commit | 23496adb0ab69a6f4d137b47c297a54bcc788cf8 (patch) | |
tree | 24bf5704a35f3985300076c128f40a30222aeefd | |
parent | ddcdd9bce0ea443c494ec5a57c00ccaacec776bc (diff) | |
download | chrome-ec-23496adb0ab69a6f4d137b47c297a54bcc788cf8.tar.gz |
ectool: add missing space in usbpdmuxinfo output
Add a missing space in the human readable output after the polarity
field.
BUG=none
BRANCH=none
TEST=make utils
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I826471b3382844799097e8f4ff381100632a26e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3645251
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r-- | util/ectool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.c b/util/ectool.c index 31e0f07631..c6ebb11f1c 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -6612,7 +6612,7 @@ int cmd_usb_pd_mux_info(int argc, char *argv[]) printf("USB=%d ", !!(r.flags & USB_PD_MUX_USB_ENABLED)); printf("DP=%d ", !!(r.flags & USB_PD_MUX_DP_ENABLED)); - printf("POLARITY=%s", + printf("POLARITY=%s ", r.flags & USB_PD_MUX_POLARITY_INVERTED ? "INVERTED" : "NORMAL"); printf("HPD_IRQ=%d ", |