diff --git a/lib/libarchive/archive_read_support_format_tar.c b/lib/libarchive/archive_read_support_format_tar.c index 1f0bf80b3098..796a466c7c49 100644 --- a/lib/libarchive/archive_read_support_format_tar.c +++ b/lib/libarchive/archive_read_support_format_tar.c @@ -985,7 +985,7 @@ header_common(struct archive_read *a, struct tar *tar, struct archive_entry *ent * Sparse files are really just regular files with * sparse information in the extended area. */ - /* FALL THROUGH */ + /* FALLTHROUGH */ default: /* Regular file and non-standard types */ /* * Per POSIX: non-recognized types should always be diff --git a/lib/libarchive/archive_write_disk.c b/lib/libarchive/archive_write_disk.c index 3ed1eed4ddfd..8980cd0bb993 100644 --- a/lib/libarchive/archive_write_disk.c +++ b/lib/libarchive/archive_write_disk.c @@ -794,7 +794,8 @@ create_filesystem_object(struct archive_write_disk *a) switch (a->mode & S_IFMT) { default: - /* Fall through, as required by POSIX. */ + /* POSIX requires that we fall through here. */ + /* FALLTHROUGH */ case S_IFREG: a->fd = open(a->name, O_WRONLY | O_CREAT | O_EXCL, mode);