medfall

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

commit 6956be3bdefad376670c6a5d9a04e4e1b46dd7b2
parent cbad31d0cc9df1a00c4d5f697a7c5cd1b4a96dd8
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon Aug 17 20:35:45 +0200

Fix type error in linux_semaphore

Diffstat:
linux_semaphore.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux_semaphore.cc b/linux_semaphore.cc @@ -6,7 +6,7 @@ struct Semaphore { }; inline void semaphore_init( Semaphore * const sem ) { - const int ok = sem_init( &sem->sem, 0, 0 ); + const int ok = sem_init( sem->sem, 0, 0 ); if( ok == -1 ) { err( 1, "sem_init failed" ); }