From 8978c6abacebd667299114ad311baaa9329ec51c Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Tue, 17 Jul 2012 10:24:34 -0700 Subject: [PATCH] Tidy debug output for reboot command Should print what command is being executed, to help debug software sync BUG=chrome-os-partner:11087 TEST=power on system, look for updated debug message, for example [1.636893 Executing host reboot command 5] Change-Id: Ib543fc265fe881dc2089119ab3c0a52b0fce3b4d Signed-off-by: Randall Spangler Reviewed-on: https://gerrit.chromium.org/gerrit/27659 --- common/system_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/system_common.c b/common/system_common.c index 31e91d3ed3..a8224ae69d 100644 --- a/common/system_common.c +++ b/common/system_common.c @@ -796,7 +796,7 @@ int host_command_reboot(struct host_cmd_handler_args *args) host_send_response(EC_RES_SUCCESS); #endif - CPUTS("[Executing host reboot command]\n"); + CPRINTF("[%T Executing host reboot command %d]\n", p.cmd); switch (handle_pending_reboot(p.cmd)) { case EC_SUCCESS: return EC_RES_SUCCESS;