medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 89411db07ca7ceae6adb1aafa1362f6e824c28ad
parent 571735aee63020f8cf3d8f145b5ab3a444af0ec8
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Jan  8 22:11:01 +0200

Initialise the logger mutex

Diffstat:
log.cc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/log.cc b/log.cc @@ -39,6 +39,8 @@ static Mutex mutex; void logger_init() { if( initialised ) return; + mutex_init( &mutex ); + mkdir( "logs", 0755 ); u64 now = checked_cast< u64 >( time( NULL ) );