1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-22 06:50:52 +03:00

dm: Fix compilation of dmsetup

Fix: 889c88e9dab33195efc4dc0400a4b0aaa3383948
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

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

@ -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]))