summaryrefslogtreecommitdiff
path: root/gcc/ada/s-poosiz.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-poosiz.adb')
-rw-r--r--gcc/ada/s-poosiz.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/s-poosiz.adb b/gcc/ada/s-poosiz.adb
index a86f1d113fc..5d7318da3eb 100644
--- a/gcc/ada/s-poosiz.adb
+++ b/gcc/ada/s-poosiz.adb
@@ -59,7 +59,7 @@ package body System.Pool_Size is
-- Embedded pool that manages allocation of variable-size data
- -- This pool is used as soon as the Elmt_sizS of the pool object is 0
+ -- This pool is used as soon as the Elmt_Size of the pool object is 0
-- Allocation is done on the first chunk long enough for the request.
-- Deallocation just puts the freed chunk at the beginning of the list.
@@ -261,7 +261,7 @@ package body System.Pool_Size is
raise Storage_Error;
end if;
- -- When the chunk is bigger than what is needed, take appropraite
+ -- When the chunk is bigger than what is needed, take appropriate
-- amount and build a new shrinked chunk with the remainder.
if Size (Pool, Chunk) - Align_Size > Minimum_Size then