After resolving the flag clash things work. Use our nice B_KERNEL_{READ,WRITE}_AREA flags for clarity.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11052 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-01-25 23:30:53 +00:00
parent b6f895e7fb
commit ea3df577a3

View File

@ -150,8 +150,7 @@ MessagingArea::Create(sem_id lockSem, sem_id counterSem)
// create the area
area->fID = create_area("messaging", (void**)&area->fHeader,
B_ANY_KERNEL_ADDRESS, kMessagingAreaSize, B_FULL_LOCK,
// B_USER_CLONEABLE_AREA);
B_READ_AREA | B_WRITE_AREA | B_USER_CLONEABLE_AREA);
B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA | B_USER_CLONEABLE_AREA);
if (area->fID < 0) {
delete area;
return NULL;