summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libubi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libubi.c b/lib/libubi.c
index 978b433..4322a19 100644
--- a/lib/libubi.c
+++ b/lib/libubi.c
@@ -1000,6 +1000,7 @@ int ubi_mkvol(libubi_t desc, const char *node, struct ubi_mkvol_request *req)
r.alignment = req->alignment;
r.bytes = req->bytes;
r.vol_type = req->vol_type;
+ r.flags = req->flags;
n = strlen(req->name);
if (n > UBI_MAX_VOLUME_NAME)