1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-04 05:44:18 +03:00

dm: Fix compilation of dmsetup

Fix: 889c88e9da
This commit is contained in:
Marian Csontos
2019-10-21 16:31:53 +02:00
parent c24fa7b7b7
commit c65f3fd8df
2 changed files with 2 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ enum {
DM_DEVICE_ARM_POLL,
DM_GET_TARGET_VERSION
DM_DEVICE_GET_TARGET_VERSION
};
/*

View File

@@ -2595,7 +2595,7 @@ static int _target_version(CMD_ARGS)
struct dm_task *dmt;
struct dm_versions *target;
if (!(dmt = dm_task_create(DM_GET_TARGET_VERSION)))
if (!(dmt = dm_task_create(DM_DEVICE_GET_TARGET_VERSION)))
return_0;
if (!dm_task_set_name(dmt, argv[0]))