From 4d11395f6512783b51409c335f28f791bf3a7916 Mon Sep 17 00:00:00 2001 From: kientzle Date: Sun, 8 Mar 2009 05:19:36 +0000 Subject: Merge r374 from libarchive.googlecode.com: Stupid typo in open() call. --- usr.bin/tar/test/test_strip_components.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/tar') 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)) -- cgit v1.1