From 86e34f6e7c50a22e1b37fa2ed65c620e4c74f3a2 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 25 Jan 2008 11:22:00 +0200 Subject: ubi-tools: fix compilation problems It appears that older system do not expose __be32 and friends to userspace, so use uint32_t and friends. Signed-off-by: Artem Bityutskiy --- ubi-utils/src/libubigen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ubi-utils/src') 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; -- cgit v1.2.3