]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge r374 from trunk: Fix a typo
authorTim Kientzle <kientzle@gmail.com>
Tue, 6 Jan 2009 05:26:48 +0000 (00:26 -0500)
committerTim Kientzle <kientzle@gmail.com>
Tue, 6 Jan 2009 05:26:48 +0000 (00:26 -0500)
Submitted by: Peter Hjalmarsson

SVN-Revision: 375

tar/test/test_strip_components.c

index 2faf1994dcb454b68764fe516d79c0b0034a9b77..9bade16de7580661bcfd2cb5cd385d78ceddc739 100644 (file)
@@ -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))