aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2023-02-14 13:14:08 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-23 09:50:58 +0200
commit55d10287e5a404724f0bd12003daaf8129c2c595 (patch)
treef4adfde4c24641a39567d606c4803651d000e7e7
parentfdadfcc50ee15652a824cffe18c4fff5069b9961 (diff)
downloadgcc-55d10287e5a404724f0bd12003daaf8129c2c595.zip
gcc-55d10287e5a404724f0bd12003daaf8129c2c595.tar.gz
gcc-55d10287e5a404724f0bd12003daaf8129c2c595.tar.bz2
ada: Minor fix typo in comment
Spotted while reviewing a patch with a similar typo. gcc/ada/ * libgnat/s-mmap.adb (Mapped_Region_Record): Fix typo in comment.
-rw-r--r--gcc/ada/libgnat/s-mmap.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/libgnat/s-mmap.adb b/gcc/ada/libgnat/s-mmap.adb
index 60f0db3..abb870e 100644
--- a/gcc/ada/libgnat/s-mmap.adb
+++ b/gcc/ada/libgnat/s-mmap.adb
@@ -75,7 +75,7 @@ package body System.Mmap is
-- Whether this region is actually memory mapped
Mutable : Boolean;
- -- If the file is opened for reading, wheter this region is writable
+ -- If the file is opened for reading, whether this region is writable
Buffer : System.Strings.String_Access;
-- When this region is not actually memory mapped, contains the