Skip to content
Snippets Groups Projects
Commit d52e3e01 authored by Magnus Lilja's avatar Magnus Lilja Committed by Wolfgang Denk
Browse files

cmd_date: Fix spelling in error message.

parent c2531223
No related branches found
No related tags found
No related merge requests found
...@@ -71,9 +71,9 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ...@@ -71,9 +71,9 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
/* and write to RTC */ /* and write to RTC */
rcode = rtc_set (&tm); rcode = rtc_set (&tm);
if(rcode) if(rcode)
puts("## Set date failled\n"); puts("## Set date failed\n");
} else { } else {
puts("## Get date failled\n"); puts("## Get date failed\n");
} }
} }
/* FALL TROUGH */ /* FALL TROUGH */
...@@ -81,7 +81,7 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ...@@ -81,7 +81,7 @@ int do_date (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
rcode = rtc_get (&tm); rcode = rtc_get (&tm);
if (rcode) { if (rcode) {
puts("## Get date failled\n"); puts("## Get date failed\n");
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment