Fixed DragonFly BSD shared memory implementation.
This commit is contained in:
@@ -280,7 +280,7 @@ nxt_port_new_port_mmap(nxt_task_t *task, nxt_process_t *process,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
p = nxt_sprintf(name, name + sizeof(name), "/unit.%PI.%uxD",
|
||||
p = nxt_sprintf(name, name + sizeof(name), NXT_SHM_PREFIX "unit.%PI.%uxD",
|
||||
nxt_pid, nxt_random(&task->thread->random));
|
||||
*p = '\0';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user