diff options
Diffstat (limited to 'ubi-utils/src/libubigen.c')
-rw-r--r-- | ubi-utils/src/libubigen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/libubigen.c b/ubi-utils/src/libubigen.c index 83cea91..ff7602e 100644 --- a/ubi-utils/src/libubigen.c +++ b/ubi-utils/src/libubigen.c @@ -302,7 +302,7 @@ int ubigen_write_layout_vol(const struct ubigen_info *ui, size = UBI_MAX_VOLUMES * UBI_VTBL_RECORD_SIZE; vi.bytes = ui->leb_size * UBI_LAYOUT_VOLUME_EBS; - vi.id = UBI_LAYOUT_VOL_ID; + vi.id = UBI_LAYOUT_VOLUME_ID; vi.alignment = 1; vi.data_pad = 0; vi.usable_leb_size = ui->leb_size; |