summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/thread-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-vdo/thread-utils.c')
-rw-r--r--drivers/md/dm-vdo/thread-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/thread-utils.c b/drivers/md/dm-vdo/thread-utils.c
index ad7682784459..b4aa71fffdbf 100644
--- a/drivers/md/dm-vdo/thread-utils.c
+++ b/drivers/md/dm-vdo/thread-utils.c
@@ -83,7 +83,7 @@ int vdo_create_thread(void (*thread_function)(void *), void *thread_data,
int result;
result = vdo_allocate(1, struct thread, __func__, &thread);
- if (result != UDS_SUCCESS) {
+ if (result != VDO_SUCCESS) {
uds_log_warning("Error allocating memory for %s", name);
return result;
}