diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2019-06-17 15:22:02 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-20 05:52:12 +0000 |
commit | 8efa67d5d535e10021edbb7034ff83e6b76452a8 (patch) | |
tree | 40216ddc44d8f3d6627f7c24ef136aa64148a54c /common | |
parent | b16b36b94989a0d8e0f2268099f91094668c70f9 (diff) | |
download | chrome-ec-8efa67d5d535e10021edbb7034ff83e6b76452a8.tar.gz |
usb_update: Fix reboot message which is split to two lines
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
BUG=none
BRANCH=none
TEST=make buildall
Change-Id: Icaba23f76c2ece14e416f1791b1314325d44d85e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1662990
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Auto-Submit: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/usb_update.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/usb_update.c b/common/usb_update.c index abf709ef61..d9786b268b 100644 --- a/common/usb_update.c +++ b/common/usb_update.c @@ -22,6 +22,7 @@ #include "util.h" #define CPRINTS(format, args...) cprints(CC_USB, format, ## args) +#define CPRINTF(format, args...) cprintf(CC_USB, format, ## args) /* * This file is an adaptation layer between the USB interface and the firmware @@ -222,7 +223,7 @@ static int try_vendor_command(struct consumer const *consumer, size_t count) switch (subcommand) { case UPDATE_EXTRA_CMD_IMMEDIATE_RESET: - CPRINTS("Rebooting!\n\n\n"); + CPRINTF("[%T Rebooting!]\n\n\n"); cflush(); system_reset(SYSTEM_RESET_MANUALLY_TRIGGERED); /* Unreachable, unless something bad happens. */ |