[PATCH 03/14] common: cli_hush: Include vsprintf.h
Peng Fan (OSS)
peng.fan at oss.nxp.com
Tue Feb 3 11:41:34 CET 2026
From: Peng Fan <peng.fan at nxp.com>
sprintf is used in this file, so include header vsprintf.h.
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
common/cli_hush.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/cli_hush.c b/common/cli_hush.c
index 7bd6943d3ed65bb24c709af0b195825a26d65f39..fb087960c9206b1e7fe4454bae53f6bc1cec1bdf 100644
--- a/common/cli_hush.c
+++ b/common/cli_hush.c
@@ -83,6 +83,7 @@
#include <cli.h>
#include <cli_hush.h>
#include <command.h> /* find_cmd */
+#include <vsprintf.h>
#include <asm/global_data.h>
#endif
#ifndef __U_BOOT__
--
2.37.1
More information about the U-Boot
mailing list