svn commit: r189513 - head/usr.bin/tar/test
Tim Kientzle
kientzle at FreeBSD.org
Sat Mar 7 21:19:37 PST 2009
Author: kientzle
Date: Sun Mar 8 05:19:36 2009
New Revision: 189513
URL: http://svn.freebsd.org/changeset/base/189513
Log:
Merge r374 from libarchive.googlecode.com: Stupid typo in open() call. <sigh>
Modified:
head/usr.bin/tar/test/test_strip_components.c
Modified: head/usr.bin/tar/test/test_strip_components.c
==============================================================================
--- head/usr.bin/tar/test/test_strip_components.c Sun Mar 8 05:17:58 2009 (r189512)
+++ head/usr.bin/tar/test/test_strip_components.c Sun Mar 8 05:19:36 2009 (r189513)
@@ -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))
More information about the svn-src-head
mailing list