aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/beos/shm.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-10-15 02:49:52 +0000
committerBruce Momjian <bruce@momjian.us>2005-10-15 02:49:52 +0000
commit1dc34982511d91ef8a2b71bdcb870f067c1b3da9 (patch)
tree1046adab1d4b964e0c38afeec0ee6546f61d9a8a /src/backend/port/beos/shm.c
parent790c01d28099587bbe2c623d4389b62ee49b1dee (diff)
downloadpostgresql-1dc34982511d91ef8a2b71bdcb870f067c1b3da9.tar.gz
postgresql-1dc34982511d91ef8a2b71bdcb870f067c1b3da9.zip
Standard pgindent run for 8.1.
Diffstat (limited to 'src/backend/port/beos/shm.c')
-rw-r--r--src/backend/port/beos/shm.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/backend/port/beos/shm.c b/src/backend/port/beos/shm.c
index 94da461ea2c..c7791ce7b4e 100644
--- a/src/backend/port/beos/shm.c
+++ b/src/backend/port/beos/shm.c
@@ -48,16 +48,15 @@ shmat(int memId, int m1, int m2)
if (ainfo.team == teinfo.team)
{
/*
- * the area is already in our address space, just return the
- * address
+ * the area is already in our address space, just return the address
*/
return (int *) ainfo.address;
}
else
{
/*
- * the area is not in our address space, clone it before and
- * return the address
+ * the area is not in our address space, clone it before and return
+ * the address
*/
area_id narea;
@@ -131,8 +130,8 @@ shmget(int memKey, int size, int flag)
return -1;
/*
- * area does not exist and its creation is requested, create it (be
- * sure to have a 4ko multiple size
+ * area does not exist and its creation is requested, create it (be sure
+ * to have a 4ko multiple size
*/
return create_area(nom, &Address, B_ANY_ADDRESS, ((size / 4096) + 1) * 4096, B_NO_LOCK, B_READ_AREA | B_WRITE_AREA);
}