1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tools: move struct element before variable lenght list

Move prio field before 'variable' struct array field.
Interesting why this has not been catched yet.

TODO: think about test case
This commit is contained in:
Zdenek Kabelac 2020-08-28 19:15:42 +02:00
parent 7880896f0d
commit b918afb693

View File

@ -109,8 +109,8 @@ struct arg_values {
struct arg_value_group_list { struct arg_value_group_list {
struct dm_list list; struct dm_list list;
struct arg_values arg_values[0];
uint32_t prio; uint32_t prio;
struct arg_values arg_values[0];
}; };
#define PERMITTED_READ_ONLY 0x00000002 #define PERMITTED_READ_ONLY 0x00000002