summaryrefslogtreecommitdiff
path: root/lib/libarchive/archive_write_disk.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2007-04-12 04:42:57 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2007-04-12 04:42:57 +0000
commit782a032689d1a196890cbb9717db4465029a5144 (patch)
tree0f8582630ff6cd648038f597ee7a42836b2420b7 /lib/libarchive/archive_write_disk.c
parent98d6fba71dc7144773055d66d02999f4c7fdd33d (diff)
Notes
Diffstat (limited to 'lib/libarchive/archive_write_disk.c')
-rw-r--r--lib/libarchive/archive_write_disk.c3
1 files changed, 2 insertions, 1 deletions
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);