From fc85dfd76f97387ccddb46861effa6c386901218 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 20 Apr 2009 13:03:21 +0300 Subject: libmtd: rename mtd_get_info Rename 'mtd_get_info()' into 'mtd_get_dev_info()' to be consistent to libubi. Signed-off-by: Artem Bityutskiy --- ubi-utils/src/ubiformat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ubi-utils/src/ubiformat.c') 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. */ -- cgit v1.2.3