From ea3df577a339f8fb6c3780c3904f49d5d986f7d9 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 25 Jan 2005 23:30:53 +0000 Subject: [PATCH] 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 --- src/kernel/core/messaging/MessagingService.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kernel/core/messaging/MessagingService.cpp b/src/kernel/core/messaging/MessagingService.cpp index 29155b65ac..5a87b37cd6 100644 --- a/src/kernel/core/messaging/MessagingService.cpp +++ b/src/kernel/core/messaging/MessagingService.cpp @@ -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;