Make log times line up for neatness

This commit is contained in:
Daniel Silverstone 2012-07-07 18:01:57 +01:00
parent 7ae14f77a2
commit ea5a8ed771

View File

@ -101,7 +101,7 @@ const char *nslog_gettime(void)
timeval_subtract(&tv, &now_tv, &start_tv);
snprintf(buff, sizeof(buff),"(%ld.%ld)",
snprintf(buff, sizeof(buff),"(%ld.%06ld)",
(long)tv.tv_sec, (long)tv.tv_usec);
return buff;