summaryrefslogtreecommitdiff
path: root/tar/test/test_strip_components.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2009-01-06 00:25:29 -0500
committerTim Kientzle <kientzle@gmail.com>2009-01-06 00:25:29 -0500
commitbc27898014d1274e2e7171393fef414b8c55ea1a (patch)
tree26e24c86ca9448ac9f843462341effccee04c9b9 /tar/test/test_strip_components.c
parent03bba7f91b274e9f4d63c56d6ef4ea86bee016ef (diff)
downloadlibarchive-bc27898014d1274e2e7171393fef414b8c55ea1a.tar.gz
Fix a silly typo.
Submitted by: Peter Hjalmarsson SVN-Revision: 374
Diffstat (limited to 'tar/test/test_strip_components.c')
-rw-r--r--tar/test/test_strip_components.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/test/test_strip_components.c b/tar/test/test_strip_components.c
index 2faf1994..9bade16d 100644
--- a/tar/test/test_strip_components.c
+++ b/tar/test/test_strip_components.c
@@ -28,7 +28,7 @@ __FBSDID("$FreeBSD: src/usr.bin/tar/test/test_strip_components.c,v 1.2 2008/11/1
static int
touch(const char *fn)
{
- int fd = open(fn, O_RDWR | O_CREAT | 0644);
+ int fd = open(fn, O_RDWR | O_CREAT, 0644);
failure("Couldn't create file '%s', fd=%d, errno=%d (%s)\n",
fn, fd, errno, strerror(errno));
if (!assert(fd > 0))