Fix typos

This commit is contained in:
Andrea Mazzoleni 2026-01-17 21:16:21 +01:00
parent a7d6db1d5c
commit e80734fc4c
11 changed files with 50 additions and 49 deletions

View file

@ -57,7 +57,7 @@ int handle_create(struct snapraid_handle* handle, struct snapraid_file* file, in
/* if failed for missing write permission */
if (handle->f == -1 && (errno == EACCES || errno == EROFS)) {
/* open for real-only */
/* open for read-only */
handle->f = open(handle->path, flags | O_RDONLY);
}