mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv:clear up the usage of printf data struct
The printf related functions have been called by other various functions, e.g. get_ptdev_info(), get_ioapic_info, etc. The patch is used to clear up the usage. Tracked-On: #861 Signed-off-by: Junjun Shan <junjun.shan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -653,7 +653,7 @@ size_t snprintf(char *dest, size_t sz, const char *fmt, ...)
|
||||
va_start(args, fmt);
|
||||
|
||||
/* execute the printf() */
|
||||
res = vsnprintf(dest, (size_t)sz, fmt, args);
|
||||
res = vsnprintf(dest, sz, fmt, args);
|
||||
|
||||
/* destroy parameter list */
|
||||
va_end(args);
|
||||
|
Reference in New Issue
Block a user