aboutsummaryrefslogtreecommitdiff
path: root/text-io.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-12-11 15:50:59 +0100
committerMarc André Tanner <mat@brain-dump.org>2020-12-11 15:50:59 +0100
commit40c387aca214f701cd316c63b290ba7f35abbe3a (patch)
tree9b9434695b2016b0f6b57c0f3ced260ff1f22a37 /text-io.c
parent8c5205ad56f0bd76d3f9cd4a85eba9e01d071228 (diff)
parent8000440b2de276f6ee65f3f369b8622478a0afb2 (diff)
downloadvis-40c387aca214f701cd316c63b290ba7f35abbe3a.tar.gz
vis-40c387aca214f701cd316c63b290ba7f35abbe3a.tar.xz
Merge branch 'fix-typos' of https://github.com/moesasji/vis
Diffstat (limited to 'text-io.c')
-rw-r--r--text-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-io.c b/text-io.c
index bfaad41..c6d7fa6 100644
--- a/text-io.c
+++ b/text-io.c
@@ -33,7 +33,7 @@ struct TextSave { /* used to hold context between text_save_{be
#define BLOCK_SIZE (1 << 20)
#endif
/* Files smaller than this value are copied on load, larger ones are mmap(2)-ed
- * directely. Hence the former can be truncated, while doing so on the latter
+ * directly. Hence the former can be truncated, while doing so on the latter
* results in havoc. */
#define BLOCK_MMAP_SIZE (1 << 26)
@@ -261,7 +261,7 @@ err:
* - file ownership can not be preserved
* - file group can not be preserved
* - directory permissions do not allow creation of a new file
- * - POSXI ACL can not be preserved (if enabled)
+ * - POSIX ACL can not be preserved (if enabled)
* - SELinux security context can not be preserved (if enabled)
*/
static bool text_save_begin_atomic(TextSave *ctx) {