提交 5f00c532 编写于 作者: X xionglei6

init: fix code style

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 47ea6942
...@@ -94,7 +94,7 @@ static void WriteLogToFile(FILE *fp, const char *fileName, int line, const char ...@@ -94,7 +94,7 @@ static void WriteLogToFile(FILE *fp, const char *fileName, int line, const char
fileName == NULL ? "" : fileName, line, "fs_manager", fmt) == -1) { fileName == NULL ? "" : fileName, line, "fs_manager", fmt) == -1) {
return; return;
} }
fprintf(fp, "%s", fullLogMsg); (void)fprintf(fp, "%s", fullLogMsg);
return; return;
} }
......
...@@ -164,5 +164,4 @@ HWTEST_F(InnerkitsUnitTest, TestFsManagerLog, TestSize.Level1) ...@@ -164,5 +164,4 @@ HWTEST_F(InnerkitsUnitTest, TestFsManagerLog, TestSize.Level1)
FSMGR_LOGE("Fsmanager log to file."); FSMGR_LOGE("Fsmanager log to file.");
FsManagerLogDeInit(); FsManagerLogDeInit();
} }
} // namespace init_ut } // namespace init_ut
...@@ -66,7 +66,6 @@ extern char bootDevice[CMDLINE_VALUE_LEN_MAX]; ...@@ -66,7 +66,6 @@ extern char bootDevice[CMDLINE_VALUE_LEN_MAX];
const char *ActionString(ACTION action); const char *ActionString(ACTION action);
void ParseUeventMessage(const char *buffer, ssize_t length, struct Uevent *uevent); void ParseUeventMessage(const char *buffer, ssize_t length, struct Uevent *uevent);
//void RetriggerUevent(int sockFd);
void RetriggerUevent(int sockFd, char **devices, int num); void RetriggerUevent(int sockFd, char **devices, int num);
void ProcessUevent(int sockFd, char **devices, int num); void ProcessUevent(int sockFd, char **devices, int num);
......
...@@ -188,8 +188,6 @@ static void BuildBootDeviceSymbolLink(char **links, int linkNum, const char *par ...@@ -188,8 +188,6 @@ static void BuildBootDeviceSymbolLink(char **links, int linkNum, const char *par
} }
} }
static void BuildDeviceSymbolLinks(char **links, int linkNum, const char *parent, static void BuildDeviceSymbolLinks(char **links, int linkNum, const char *parent,
const char *partitionName, const char *deviceName) const char *partitionName, const char *deviceName)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册