mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-15 22:54:01 +00:00
String function of strlen()/vsnprintf() shuould be replaced. This patch remove the strlen(). And vsnprintf() replaced by vasprintf(). Tracked-On: #2687 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
17 lines
282 B
C
17 lines
282 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
*/
|
|
|
|
#ifndef _DM_KMSG_H_
|
|
#define _DM_KMSG_H_
|
|
|
|
#define KERN_NODE "/dev/kmsg"
|
|
#define KMSG_FMT "dm_run:"
|
|
|
|
void write_kmsg(const char *log, ...);
|
|
|
|
#endif /* _DM_KMSG_H_ */
|