aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_shm_mq/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/modules/test_shm_mq/worker.c')
-rw-r--r--src/test/modules/test_shm_mq/worker.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/modules/test_shm_mq/worker.c b/src/test/modules/test_shm_mq/worker.c
index dec058b55ea..a9d9e0e2552 100644
--- a/src/test/modules/test_shm_mq/worker.c
+++ b/src/test/modules/test_shm_mq/worker.c
@@ -211,8 +211,7 @@ handle_sigterm(SIGNAL_ARGS)
{
int save_errno = errno;
- if (MyProc)
- SetLatch(&MyProc->procLatch);
+ SetLatch(MyLatch);
if (!proc_exit_inprogress)
{