]> git.sur5r.net Git - tio/blobdiff - src/error.c
Update upstream source from tag 'upstream/2.0'
[tio] / src / error.c
index 4e0142fc8f639beb56d00f7e3bf1f752d2226488..43da8dd728f74b2a9517ce2c5809a11ede67d6f0 100644 (file)
@@ -31,6 +31,7 @@
 #include "options.h"
 #include "print.h"
 #include "error.h"
+#include "timestamp.h"
 
 static char error[2][1000];
 static bool in_session = false;
@@ -54,7 +55,7 @@ void error_printf_(const char *format, ...)
     {
       putchar('\n');
     }
-    ansi_error_printf("[%s] %s", current_time(), line);
+    ansi_error_printf("[%s] %s", timestamp_current_time(), line);
   }
   else
   {