vm-file-editor: fix incorrect time display

It's used only for display, and never parsed, but still.
This commit is contained in:
Vincent Penquerc'h 2013-12-29 07:05:35 -05:00 committed by Marek Marczykowski-Górecki
parent a4b3a0c955
commit c9a25b8915

View File

@ -16,7 +16,7 @@ char *gettime()
static char retbuf[60];
struct timeval tv;
gettimeofday(&tv, NULL);
snprintf(retbuf, sizeof(retbuf), "%lld.%lld",
snprintf(retbuf, sizeof(retbuf), "%lld.%06lld",
(long long) tv.tv_sec, (long long) tv.tv_usec);
return retbuf;
}