1
This commit is contained in:
1 parent
8880db0ca2
commit
5816fbea70
7 files changed
+14
-8
No files matched your search
+1
-1
@@ -269,7 +269,7 @@ void debug_output(debug_level_t level, debug_category_t category,
|
||||
|
||||
/* Add timestamp with microseconds: hh:mm:ss-xxx.yyy */
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, NULL);
|
||||
utun_gettimeofday(&tv, NULL);
|
||||
time_t tv_sec = (time_t)tv.tv_sec;
|
||||
struct tm* tm_info = localtime(&tv_sec);
|
||||
char time_str[32];
|
||||
|
||||
Reference in new issue
Block a user