summaryrefslogtreecommitdiff
path: root/src/lib/shm_flow_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/shm_flow_set.c')
-rw-r--r--src/lib/shm_flow_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/shm_flow_set.c b/src/lib/shm_flow_set.c
index c19adaff..0f701b63 100644
--- a/src/lib/shm_flow_set.c
+++ b/src/lib/shm_flow_set.c
@@ -148,7 +148,7 @@ struct shm_flow_set * shm_flow_set_create(pid_t pid)
if (set == NULL)
goto fail_set;
- set->pid = getpid();
+ set->pid = pid;
if (pthread_mutexattr_init(&mattr))
goto fail_mutexattr_init;