diff options
author | kientzle <kientzle@FreeBSD.org> | 2007-04-12 04:42:57 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2007-04-12 04:42:57 +0000 |
commit | 074fb0c77f6e4db4231d4f0e526a9419ed3686f5 (patch) | |
tree | 0f8582630ff6cd648038f597ee7a42836b2420b7 /lib/libarchive/archive_write_disk.c | |
parent | 70fb9b909b9c5f6ed1d5907001766ebba118da42 (diff) | |
download | FreeBSD-src-074fb0c77f6e4db4231d4f0e526a9419ed3686f5.zip FreeBSD-src-074fb0c77f6e4db4231d4f0e526a9419ed3686f5.tar.gz |
Make Lint happier.
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 3ed1eed..8980cd0 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); |