[Ada] Fix typo in exception message
authorArnaud Charlet <charlet@adacore.com>
Fri, 6 Mar 2020 11:13:36 +0000 (06:13 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 10 Jun 2020 13:34:59 +0000 (09:34 -0400)
2020-06-10  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* libgnat/s-secsta.adb (Round_Up): Fix typo in exception
message.

gcc/ada/libgnat/s-secsta.adb

index 82f5494efb6510a600e60cd489187e9782be9e65..0010449ea94f593a9b5d536696aaabc555a906d7 100644 (file)
@@ -573,7 +573,7 @@ package body System.Secondary_Stack is
          --  Treat this case as secondary-stack depletion.
 
          if Memory_Size'Last - Algn_MS < Size_MS then
-            raise Storage_Error with "secondary stack exhaused";
+            raise Storage_Error with "secondary stack exhausted";
          end if;
 
          return ((Size_MS + Algn_MS - 1) / Algn_MS) * Algn_MS;