summaryrefslogtreecommitdiff
path: root/gcc/ada/s-taprob.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-taprob.adb')
-rw-r--r--gcc/ada/s-taprob.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/s-taprob.adb b/gcc/ada/s-taprob.adb
index 547dcb72264..ee06529d19e 100644
--- a/gcc/ada/s-taprob.adb
+++ b/gcc/ada/s-taprob.adb
@@ -101,7 +101,7 @@ package body System.Tasking.Protected_Objects is
Ceiling_Violation : Boolean;
begin
- -- The lock is made without defering abort
+ -- The lock is made without deferring abort
-- Therefore the abort has to be deferred before calling this routine.
-- This means that the compiler has to generate a Defer_Abort call
@@ -171,7 +171,7 @@ package body System.Tasking.Protected_Objects is
-- read ownership of the protected object, so that this method of
-- storing the (single) protected object's owner does not work reliably
-- for read locks. However, this is the approach taken for two major
- -- reasosn: first, this function is not currently being used (it is
+ -- reasons: first, this function is not currently being used (it is
-- provided for possible future use), and second, it largely simplifies
-- the implementation.