summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/uds-sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-vdo/uds-sysfs.c')
-rw-r--r--drivers/md/dm-vdo/uds-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/uds-sysfs.c b/drivers/md/dm-vdo/uds-sysfs.c
index d1d5a30b3717..753d81d6f207 100644
--- a/drivers/md/dm-vdo/uds-sysfs.c
+++ b/drivers/md/dm-vdo/uds-sysfs.c
@@ -35,7 +35,7 @@ static char *buffer_to_string(const char *buf, size_t length)
{
char *string;
- if (vdo_allocate(length + 1, char, __func__, &string) != UDS_SUCCESS)
+ if (vdo_allocate(length + 1, char, __func__, &string) != VDO_SUCCESS)
return NULL;
memcpy(string, buf, length);