LV2: Fix IPC key reading from attributes
This commit is contained in:
@@ -199,7 +199,7 @@ public:
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
static inline u64 get_key(const T& attr)
|
static inline u64 get_key(const T& attr)
|
||||||
{
|
{
|
||||||
return (attr.pshared != SYS_SYNC_PROCESS_SHARED ? +attr.ipc_key : 0);
|
return (attr.pshared == SYS_SYNC_PROCESS_SHARED ? +attr.ipc_key : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T, typename F>
|
template <typename T, typename F>
|
||||||
|
|||||||
Reference in New Issue
Block a user