fix codecheck: no '.' in kernel log

Signed-off-by: fundavid <fangjiawei8@huawei.com>
This commit is contained in:
fundavid
2024-03-01 07:28:02 +00:00
committed by Gitee
parent 7138ababe5
commit ed30b07f9a
+1 -1
View File
@@ -94,7 +94,7 @@ static dev_t get_root_partition_dev(struct path *root_path)
mount_path = root_path;
ret = kern_path("/", LOOKUP_DIRECTORY, mount_path);
if (ret) {
xpm_log_error("get / path failed.");
xpm_log_error("get / path failed");
return DM_VERITY_INVALID_DEV;
}
s_dev = get_partition_dev_form_mnt(mount_path->mnt);