commit 9840d8f2e73e0026fa8b96b90111a846a755979e parent 982341aefe4a8612dee27b6d4b6e4df24a0cfa05 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Jun 3 18:53:05 +0300 Oops Diffstat:
log.cc | | | 2 | ++ |
diff --git a/log.cc b/log.cc @@ -31,6 +31,8 @@ static atomic_u32 num_threads; static Mutex mutex; void logger_init() { + mutex_init( &mutex ); + mkdir( "logs", 0755 ); u64 now = checked_cast< u64 >( time( NULL ) );