aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-01 01:40:33 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-01 09:31:32 +0300
commit87eed1bb81dfbb536568e4e993bb3df16595afe7 (patch)
tree34143fdd82ccc76d54ea4e3114b468465953555f
parent90ebf6f62007726bea619dcb5beb6e858bedfd6d (diff)
libmtd: fix "fount" typo
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r--lib/libmtd_legacy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libmtd_legacy.c b/lib/libmtd_legacy.c
index 27fb3f8..3d129c1 100644
--- a/lib/libmtd_legacy.c
+++ b/lib/libmtd_legacy.c
@@ -125,18 +125,18 @@ static int proc_parse_next(struct proc_parse_info *pi)
p = memchr(pi->next, '\"', pi->data_size - pos);
if (!p)
- return errmsg("opening \" not fount");
+ return errmsg("opening \" not found");
p += 1;
pos = p - pi->buf;
if (pos >= pi->data_size)
- return errmsg("opening \" not fount");
+ return errmsg("opening \" not found");
p1 = memchr(p, '\"', pi->data_size - pos);
if (!p1)
- return errmsg("closing \" not fount");
+ return errmsg("closing \" not found");
pos = p1 - pi->buf;
if (pos >= pi->data_size)
- return errmsg("closing \" not fount");
+ return errmsg("closing \" not found");
len = p1 - p;
if (len > MTD_NAME_MAX)
@@ -146,7 +146,7 @@ static int proc_parse_next(struct proc_parse_info *pi)
pi->name[len] = '\0';
if (p1[1] != '\n')
- return errmsg("opening \"\n\" not fount");
+ return errmsg("opening \"\n\" not found");
pi->next = p1 + 2;
return 1;
}