aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'text.c')
-rw-r--r--text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.c b/text.c
index b8d5d90..5a7d907 100644
--- a/text.c
+++ b/text.c
@@ -965,7 +965,7 @@ static bool text_save_begin_inplace(TextSave *ctx) {
txt->block->type = MMAP;
newfd = -1;
}
- /* overwrite the exisiting file content, if somehting goes wrong
+ /* overwrite the existing file content, if something goes wrong
* here we are screwed, TODO: make a backup before? */
if (ftruncate(ctx->fd, 0) == -1)
goto err;