Patchwork [3/3] mtdinfo: correct grammar on error message

login
register
mail settings
Submitter Brian Norris
Date Feb. 9, 2012, 6:13 p.m.
Message ID <1328811211-13653-4-git-send-email-computersforpeace@gmail.com>
Download mbox | patch
Permalink /patch/140421/
State Accepted
Commit b989a29c2c1159867e03356d49a2903431899159
Headers show

Comments

Brian Norris - Feb. 9, 2012, 6:13 p.m.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 ubi-utils/mtdinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/ubi-utils/mtdinfo.c b/ubi-utils/mtdinfo.c
index d25595a..a9dc675 100644
--- a/ubi-utils/mtdinfo.c
+++ b/ubi-utils/mtdinfo.c
@@ -356,7 +356,7 @@  static int print_general_info(libmtd_t libmtd, const struct mtd_info *mtd_info,
 		if (err == -1) {
 			if (errno == ENODEV)
 				continue;
-			return sys_errmsg("libmtd failed get MTD device %d "
+			return sys_errmsg("libmtd failed to get MTD device %d "
 					  "information", i);
 		}