diff options
Diffstat (limited to 'src/test/modules/test_shm_mq/setup.c')
-rw-r--r-- | src/test/modules/test_shm_mq/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/modules/test_shm_mq/setup.c b/src/test/modules/test_shm_mq/setup.c index b049cff2d05..195099095de 100644 --- a/src/test/modules/test_shm_mq/setup.c +++ b/src/test/modules/test_shm_mq/setup.c @@ -285,13 +285,13 @@ wait_for_workers_to_become_ready(worker_state *wstate, } /* Wait to be signalled. */ - WaitLatch(&MyProc->procLatch, WL_LATCH_SET, 0); + WaitLatch(MyLatch, WL_LATCH_SET, 0); /* An interrupt may have occurred while we were waiting. */ CHECK_FOR_INTERRUPTS(); /* Reset the latch so we don't spin. */ - ResetLatch(&MyProc->procLatch); + ResetLatch(MyLatch); } } PG_CATCH(); |