Skip to content

Commit 8e696c8

Browse files
committed
Fix two error messages
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 5d8fd5f commit 8e696c8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/memspaces/memspace_highest_bandwidth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static void umfMemspaceHighestBandwidthInit(void) {
9191
umfMemspaceHighestBandwidthCreate(&UMF_MEMSPACE_HIGHEST_BANDWIDTH);
9292
if (ret != UMF_RESULT_SUCCESS) {
9393
LOG_ERR(
94-
"Creating the highest bandwidth memspace failed with a %u error\n",
94+
"Creating the highest bandwidth memspace failed with the error: %u",
9595
ret);
9696
assert(ret == UMF_RESULT_ERROR_NOT_SUPPORTED);
9797
}

src/memspaces/memspace_lowest_latency.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ static void umfMemspaceLowestLatencyInit(void) {
8686
umf_result_t ret =
8787
umfMemspaceLowestLatencyCreate(&UMF_MEMSPACE_LOWEST_LATENCY);
8888
if (ret != UMF_RESULT_SUCCESS) {
89-
LOG_ERR("Creating the lowest latency memspace failed with a %u error\n",
90-
ret);
89+
LOG_ERR(
90+
"Creating the lowest latency memspace failed with the error: %u",
91+
ret);
9192
assert(ret == UMF_RESULT_ERROR_NOT_SUPPORTED);
9293
}
9394

0 commit comments

Comments
 (0)