summaryrefslogtreecommitdiff
path: root/lib/libubi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libubi.c')
-rw-r--r--lib/libubi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libubi.c b/lib/libubi.c
index baaca2f..410d104 100644
--- a/lib/libubi.c
+++ b/lib/libubi.c
@@ -767,6 +767,7 @@ int ubi_attach(libubi_t desc, const char *node, struct ubi_attach_request *req)
r.ubi_num = req->dev_num;
r.mtd_num = req->mtd_num;
r.vid_hdr_offset = req->vid_hdr_offset;
+ r.disable_fm = req->disable_fm ? 1 : 0;
if (req->max_beb_per1024) {
/*