]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Minor fix typo in comment
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 14 Feb 2023 12:14:08 +0000 (13:14 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 23 May 2023 07:50:58 +0000 (09:50 +0200)
Spotted while reviewing a patch with a similar typo.

gcc/ada/

* libgnat/s-mmap.adb (Mapped_Region_Record): Fix typo in comment.

gcc/ada/libgnat/s-mmap.adb

index 60f0db30fb57aa27240e2c25e55b6720abf83fdb..abb870ec1c066ca6bbcf969ca8a195cc89721323 100644 (file)
@@ -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