Skip to content

Commit 1901ece

Browse files
committed
Fix two error messages
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 7e0e476 commit 1901ece

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/provider/provider_file_memory.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,9 +633,7 @@ static umf_result_t file_get_ipc_handle(void *provider, const void *ptr,
633633

634634
void *value = critnib_get(file_provider->fd_offset_map, (uintptr_t)ptr);
635635
if (value == NULL) {
636-
LOG_ERR("file_get_ipc_handle(): getting a value from the IPC cache "
637-
"failed (addr=%p)",
638-
ptr);
636+
LOG_ERR("getting a value from the IPC cache failed (addr=%p)", ptr);
639637
return UMF_RESULT_ERROR_INVALID_ARGUMENT;
640638
}
641639

src/provider/provider_os_memory.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,9 +1221,7 @@ static umf_result_t os_get_ipc_handle(void *provider, const void *ptr,
12211221

12221222
void *value = critnib_get(os_provider->fd_offset_map, (uintptr_t)ptr);
12231223
if (value == NULL) {
1224-
LOG_ERR("os_get_ipc_handle(): getting a value from the IPC cache "
1225-
"failed (addr=%p)",
1226-
ptr);
1224+
LOG_ERR("getting a value from the IPC cache failed (addr=%p)", ptr);
12271225
return UMF_RESULT_ERROR_INVALID_ARGUMENT;
12281226
}
12291227

0 commit comments

Comments
 (0)