diff options
Diffstat (limited to 'ubi-utils/src')
-rw-r--r-- | ubi-utils/src/libmtd.c | 2 | ||||
-rw-r--r-- | ubi-utils/src/ubiformat.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ubi-utils/src/libmtd.c b/ubi-utils/src/libmtd.c index 127d0ec..8403c37 100644 --- a/ubi-utils/src/libmtd.c +++ b/ubi-utils/src/libmtd.c @@ -33,7 +33,7 @@ #define PROGRAM_NAME "libmtd" #define MTD_DEV_MAJOR 90 -int mtd_get_info(const char *node, struct mtd_info *mtd) +int mtd_get_dev_info(const char *node, struct mtd_info *mtd) { struct stat st; struct mtd_info_user ui; diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c index 1409953..511591a 100644 --- a/ubi-utils/src/ubiformat.c +++ b/ubi-utils/src/ubiformat.c @@ -691,7 +691,7 @@ int main(int argc, char * const argv[]) if (err) return -1; - err = mtd_get_info(args.node, &mtd); + err = mtd_get_dev_info(args.node, &mtd); if (err) return errmsg("cannot get information about \"%s\"", args.node); @@ -726,7 +726,7 @@ int main(int argc, char * const argv[]) } /* - * Because of MTD interface limitations 'mtd_get_info()' cannot get + * Because of MTD interface limitations 'mtd_get_dev_info()' cannot get * sub-page so we force the user to pass it via the command line. Let's * hope the user passed us something sane. */ |