diff --git a/lib/libdm/libdm_ioctl.c b/lib/libdm/libdm_ioctl.c index 5528844a6b5c..976e90c8a194 100644 --- a/lib/libdm/libdm_ioctl.c +++ b/lib/libdm/libdm_ioctl.c @@ -262,7 +262,7 @@ libdm_task_set_name(const char *name, libdm_task_t libdm_task) if ((prop_dictionary_set_cstring(libdm_task->ldm_task, DM_IOCTL_NAME, name)) == false) return ENOENT; - + return 0; } @@ -285,7 +285,7 @@ libdm_task_set_uuid(const char *uuid, libdm_task_t libdm_task) { if ((prop_dictionary_set_cstring(libdm_task->ldm_task, - DM_IOCTL_NAME, uuid)) == false) + DM_IOCTL_UUID, uuid)) == false) return ENOENT; return 0;