dreid 02/01/24 14:02:07
Modified: shmem/beos shm.c
Log:
Fix a small problem with the name of the area we create. This is
temporary but gets the server running again.
Revision Changes Path
1.6 +1 -1 apr/shmem/beos/shm.c
Index: shm.c
===================================================================
RCS file: /home/cvs/apr/shmem/beos/shm.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- shm.c 13 Jan 2002 14:03:27 -0000 1.5
+++ shm.c 24 Jan 2002 22:02:07 -0000 1.6
@@ -83,7 +83,7 @@
/* we MUST allocate in pages, so calculate how big an area we need... */
pagesize = ((reqsize + B_PAGE_SIZE - 1) / B_PAGE_SIZE) * B_PAGE_SIZE;
- newid = create_area(file, (void*)&addr, B_ANY_ADDRESS,
+ newid = create_area("apr_shmem", (void*)&addr, B_ANY_ADDRESS,
pagesize, B_CONTIGUOUS, B_READ_AREA|B_WRITE_AREA);
if (newid < 0)