am 4f9bfffe: Merge "Fix message when a command times out."

* commit '4f9bfffe23d40fdaabe91ea7c7691e52800edb79':
  Fix message when a command times out.
This commit is contained in:
Christopher Ferris 2015-01-12 18:48:23 +00:00 committed by Android Git Automerger
commit d8dc9405c3
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ int run_command(const char *title, int timeout_seconds, const char *command, ...
}
if (timeout_seconds && elapsed / NANOS_PER_SEC > timeout_seconds) {
printf("*** %s: Timed out after %ds (killing pid %d)\n", command, (int) elapsed, pid);
printf("*** %s: Timed out after %.3fs (killing pid %d)\n", command, (float) elapsed / NANOS_PER_SEC, pid);
kill(pid, SIGTERM);
return -1;
}