[PATCH] of: property: fix error message
Steffen Trumtrar
s.trumtrar at pengutronix.de
Thu Apr 25 11:12:22 EDT 2013
At least in standard oxford english one not is enough.
Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
commands/of_property.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commands/of_property.c b/commands/of_property.c
index 6311b70..44bb388 100644
--- a/commands/of_property.c
+++ b/commands/of_property.c
@@ -62,7 +62,7 @@ static int of_parse_prop_cells(char * const *newval, int count, char *data, int
/* If the ptr didn't advance, something went wrong */
if ((newp - cp) <= 0) {
- printf("cannot not convert \"%s\"\n", cp);
+ printf("cannot convert \"%s\"\n", cp);
return -EINVAL;
}
@@ -105,7 +105,7 @@ static int of_parse_prop_stream(char * const *newval, int count, char *data, int
/* If the ptr didn't advance, something went wrong */
if ((newp - cp) <= 0) {
- printf("cannot not convert \"%s\"\n", cp);
+ printf("cannot convert \"%s\"\n", cp);
return -EINVAL;
}
}
--
1.8.2.rc2
More information about the barebox
mailing list