Mercurial > ~darius > hgwebdir.cgi > stm32temp
changeset 19:d078651f5353
Fix typo
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Wed, 14 Nov 2012 12:46:48 +1030 |
parents | afdd22502c2a |
children | 35cf31794a42 |
files | main.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main.c Wed Nov 14 12:30:58 2012 +1030 +++ b/main.c Wed Nov 14 12:46:48 2012 +1030 @@ -158,7 +158,7 @@ if (!strncmp("gc", cmd.buf, 2)) { now = time(NULL); gmtime_r(&now, &nowtm); - strftime(buf, sizeof(buf) - 1, "Time is %Y/%m/%d %H:%M:%S UTC", &nowtm); + strftime(buf, sizeof(buf) - 1, "%Y/%m/%d %H:%M:%S UTC", &nowtm); printf("Time is %s (%d)\r\n", buf, (int)now); } else if (!strncmp("sc ", cmd.buf, 3)) { struct timeval tv;