summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tar/test/test_strip_components.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/test/test_strip_components.c b/usr.bin/tar/test/test_strip_components.c
index 0cfea18..0f98dfc 100644
--- a/usr.bin/tar/test/test_strip_components.c
+++ b/usr.bin/tar/test/test_strip_components.c
@@ -28,7 +28,7 @@ __FBSDID("$FreeBSD$");
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))
OpenPOWER on IntegriCloud