diff options
| author | Tim Kientzle <kientzle@FreeBSD.org> | 2007-04-12 04:42:57 +0000 |
|---|---|---|
| committer | Tim Kientzle <kientzle@FreeBSD.org> | 2007-04-12 04:42:57 +0000 |
| commit | 782a032689d1a196890cbb9717db4465029a5144 (patch) | |
| tree | 0f8582630ff6cd648038f597ee7a42836b2420b7 /lib/libarchive/archive_write_disk.c | |
| parent | 98d6fba71dc7144773055d66d02999f4c7fdd33d (diff) | |
Notes
Diffstat (limited to 'lib/libarchive/archive_write_disk.c')
| -rw-r--r-- | lib/libarchive/archive_write_disk.c | 3 |
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); |
