Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / src / xbt / mmalloc / mm_module.c
index 825d992..ebf8494 100644 (file)
@@ -1,6 +1,6 @@
-/* Initialization for acces s to a mmap'd malloc managed region. */
+/* Initialization for access to a mmap'd malloc managed region. */
 
-/* Copyright (c) 2012-2019. The SimGrid Team.
+/* Copyright (c) 2012-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -62,7 +62,7 @@
    starting at the specified address BASEADDR in the process address
    space.
 
-   The provided BASEADDR should be choosed carefully in order to avoid
+   The provided BASEADDR should be chosen carefully in order to avoid
    bumping into existing mapped regions or future mapped regions.
 
    On success, returns a "malloc descriptor" which is used in subsequent
@@ -96,7 +96,7 @@ xbt_mheap_t xbt_mheap_new_options(int fd, void *baseaddr, int options)
       return (NULL);
 
     else if (sbuf.st_size > 0) {
-      /* We were given an valid file descriptor on an open file, so try to remap
+      /* We were given a valid file descriptor on an open file, so try to remap
          it into the current process at the same address to which it was previously
          mapped. It naturally have to pass some sanity checks for that.