aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_shm_mq/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/modules/test_shm_mq/test.c')
-rw-r--r--src/test/modules/test_shm_mq/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/modules/test_shm_mq/test.c b/src/test/modules/test_shm_mq/test.c
index 6428fcf51c4..732376daff2 100644
--- a/src/test/modules/test_shm_mq/test.c
+++ b/src/test/modules/test_shm_mq/test.c
@@ -230,9 +230,9 @@ test_shm_mq_pipelined(PG_FUNCTION_ARGS)
* have read or written data and therefore there may now be work
* for us to do.
*/
- WaitLatch(&MyProc->procLatch, WL_LATCH_SET, 0);
+ WaitLatch(MyLatch, WL_LATCH_SET, 0);
CHECK_FOR_INTERRUPTS();
- ResetLatch(&MyProc->procLatch);
+ ResetLatch(MyLatch);
}
}