aboutsummaryrefslogtreecommitdiff
path: root/text-io.c
diff options
context:
space:
mode:
authorMoesasji <miyamoto.31b@gmail.com>2020-12-10 18:25:37 +0000
committerMoesasji <miyamoto.31b@gmail.com>2020-12-10 18:25:37 +0000
commit8000440b2de276f6ee65f3f369b8622478a0afb2 (patch)
treeaee1ce6714e9188038b2cd9bf0cf9ec2457e8f20 /text-io.c
parent247b799b7cd272f20b2c6f9b4e60bf8b57775985 (diff)
downloadvis-8000440b2de276f6ee65f3f369b8622478a0afb2.tar.gz
vis-8000440b2de276f6ee65f3f369b8622478a0afb2.tar.xz
fix typos in comments
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) {