提交 c32005e2 编写于 作者: X xionglei6

fix: codestyle

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 5ee768f7
......@@ -27,9 +27,7 @@ ohos_prebuilt_etc("device_info.cfg") {
ohos_shared_library("deviceinfoservice") {
sources = [ "device_info_stub.cpp" ]
defines = [
"DINFO_LABEL=\"DeviceInfoService\"",
]
defines = [ "DINFO_LABEL=\"DeviceInfoService\"" ]
include_dirs = [
".",
"//base/startup/init_lite/interfaces/innerkits/include",
......
......@@ -20,8 +20,8 @@
#include <stdarg.h>
#include <sys/stat.h>
#include <time.h>
#include "securec.h"
#include "securec.h"
#ifdef OHOS_LITE
#include "hilog/log.h"
#endif
......@@ -71,7 +71,7 @@ void OpenLogDevice(void)
return;
}
void LogToDmesg(InitLogLevel logLevel, const char *domain, const char *fileName, int line, const char *info)
void LogToDmesg(InitLogLevel logLevel, const char *domain, const char *fileName, int line, const char *info)
{
static const char *LOG_LEVEL_STR[] = { "DEBUG", "INFO", "WARNING", "ERROR", "FATAL" };
static const char *LOG_KLEVEL_STR[] = { "<7>", "<6>", "<4>", "<3>", "<3>" };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册