aboutsummaryrefslogtreecommitdiff
path: root/src/mmap.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-11-18 14:25:42 +0200
committerSergey Poznyakoff <gray@gnu.org>2021-11-18 14:25:42 +0200
commitcdc6b5fca3860a5f0466fc646fd99372e50af9f4 (patch)
tree88146de4fc0eb03d900a58fb289c6ac93b8edd4d /src/mmap.c
parentc6c8162e6d81fdd5994007f4407de4305f4778bf (diff)
downloadgdbm-cdc6b5fca3860a5f0466fc646fd99372e50af9f4.tar.gz
gdbm-cdc6b5fca3860a5f0466fc646fd99372e50af9f4.tar.bz2
Fix typos
Diffstat (limited to 'src/mmap.c')
-rw-r--r--src/mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mmap.c b/src/mmap.c
index 778cf46..0e92473 100644
--- a/src/mmap.c
+++ b/src/mmap.c
@@ -42,7 +42,7 @@
/* Translate current offset in the mapped region into the absolute position */
# define _GDBM_MMAPPED_POS(dbf) ((dbf)->mapped_off + (dbf)->mapped_pos)
-/* Return true if the absolute offset OFF lies within the currentlty mmapped
+/* Return true if the absolute offset OFF lies within the currently mmapped
region */
# define _GDBM_IN_MAPPED_REGION_P(dbf, off) \
((off) >= (dbf)->mapped_off \
@@ -127,7 +127,7 @@ _gdbm_internal_remap (GDBM_FILE dbf, size_t size)
If the file is opened with write permissions, FLAG controls how
it is expanded. The value _REMAP_DEFAULT truncates SIZE to the
actual file size. The value _REMAP_EXTEND extends the file, if
- necessary, to accomodate max(SIZE,dbf->header->next_block) bytes.
+ necessary, to accommodate max(SIZE,dbf->header->next_block) bytes.
Finally, the value _REMAP_END instructs the function to use
max(SIZE, file_size) as the upper bound of the mapped region.

Return to:

Send suggestions and report system problems to the System administrator.