summaryrefslogtreecommitdiff
path: root/utility/load_kernel_test.c
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2020-03-16 16:20:02 +0800
committerCommit Bot <commit-bot@chromium.org>2020-03-31 10:36:57 +0000
commit02f45f51a7e80bf7e62c3fa0926c3e30ccd7124d (patch)
tree655a4ea39d2f2485c369d6175476858d9fac88b8 /utility/load_kernel_test.c
parente3f71c97d05f5c659a0c2a2186dc62dd0586407f (diff)
downloadvboot-02f45f51a7e80bf7e62c3fa0926c3e30ccd7124d.tar.gz
vboot: stop using StrnAppend and Uint64ToString
Use snprintf instead. Remove utility_string library. Also, prepare VbDisplayDebugInfo to handle 64-byte nvdata. BUG=b:124141368, chromium:968464 TEST=make clean && make runtests TEST=boot with 16-byte nvdata, check <TAB> output (one line) TEST=boot with 64-byte nvdata, check <TAB> output (five lines) BRANCH=none Change-Id: If6c4b3a4e9fa7b71cb2d8ca7ccd37e4f36b97fd6 Signed-off-by: Joel Kitching <kitching@google.com> Cq-Depend: chromium:2122061 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2104880 Tested-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'utility/load_kernel_test.c')
-rw-r--r--utility/load_kernel_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c
index 609a9a3a..c5dc7cb6 100644
--- a/utility/load_kernel_test.c
+++ b/utility/load_kernel_test.c
@@ -11,6 +11,7 @@
#include <unistd.h>
#include "2api.h"
+#include "2common.h"
#include "2misc.h"
#include "2sysincludes.h"
#include "host_common.h"