summaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubiattach.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-06-15 13:03:14 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-06-15 13:04:54 +0300
commitccb2e466874c12fa060f9741f491bffa897a3a0c (patch)
tree27d7a18d7f284fb83d2c2f467f8876429ae32fb3 /ubi-utils/src/ubiattach.c
parentf64e613c4402080edf03c225cb4c0068040cf028 (diff)
ubi-utils: harmonize mtd device node variables
Consistently use 'mtd_dev_node' to name variables consining MTD device node path. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubiattach.c')
-rw-r--r--ubi-utils/src/ubiattach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/ubiattach.c b/ubi-utils/src/ubiattach.c
index 67f8c85..210624b 100644
--- a/ubi-utils/src/ubiattach.c
+++ b/ubi-utils/src/ubiattach.c
@@ -188,7 +188,7 @@ int main(int argc, char * const argv[])
req.dev_num = args.devn;
req.mtd_num = args.mtdn;
req.vid_hdr_offset = args.vidoffs;
- req.dev = args.dev;
+ req.mtd_dev_node = args.dev;
err = ubi_attach(libubi, args.node, &req);
if (err) {