]> git.sur5r.net Git - u-boot/commitdiff
cmd_date: Fix spelling in error message.
authorMagnus Lilja <lilja.magnus@gmail.com>
Wed, 11 Nov 2009 18:56:36 +0000 (19:56 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 2 Dec 2009 22:28:10 +0000 (23:28 +0100)
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
common/cmd_date.c

index 9f50f8956e5fad880887f29fd3ed2f9dab15e20c..3141a3968aebaf27cd4a3e55eca39f07cb97508c 100644 (file)
@@ -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;
                }