[U-Boot] [PATCH v2] cmd_date: Fix spelling in error message.

Magnus Lilja lilja.magnus at gmail.com
Wed Nov 11 19:56:36 CET 2009


Signed-off-by: Magnus Lilja <lilja.magnus at gmail.com>
---
 common/cmd_date.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/cmd_date.c b/common/cmd_date.c
index 9f50f89..3141a39 100644
--- a/common/cmd_date.c
+++ b/common/cmd_date.c
@@ -71,9 +71,9 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 				/* and write to RTC */
 				rcode = rtc_set (&tm);
 				if(rcode)
-					puts("## Set date failled\n");
+					puts("## Set date failed\n");
 			} else {
-				puts("## Get date failled\n");
+				puts("## Get date failed\n");
 			}
 		}
 		/* FALL TROUGH */
@@ -81,7 +81,7 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 		rcode = rtc_get (&tm);
 
 		if (rcode) {
-			puts("## Get date failled\n");
+			puts("## Get date failed\n");
 			break;
 		}
 
-- 
1.5.6



More information about the U-Boot mailing list