[m-rev.] diff: Fix semaphore typo

Paul Bone paul at bone.id.au
Tue Sep 22 12:59:10 AEST 2015


Branches: master

Fix semaphore typo

runtime/mercury_context.c:
    As above.
---
 runtime/mercury_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/mercury_context.c b/runtime/mercury_context.c
index 63379f0..592de9c 100644
--- a/runtime/mercury_context.c
+++ b/runtime/mercury_context.c
@@ -398,7 +398,7 @@ MR_init_context_stuff(void)
         MR_max_engines, MR_ALLOC_SITE_RUNTIME);
     for (i = 0; i < MR_max_engines; i++) {
         engine_sleep_sync *esync = get_engine_sleep_sync(i);
-        MR_sem_init(&esync->d.es_sleep_sempahore, 0);
+        MR_sem_init(&esync->d.es_sleep_semaphore, 0);
         pthread_mutex_init(&esync->d.es_wake_lock, MR_MUTEX_ATTR);
         /*
         ** All engines are initially working (because telling them to wake up
-- 
2.5.0




More information about the reviews mailing list