diff options
author | kientzle <kientzle@FreeBSD.org> | 2009-03-08 05:19:36 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2009-03-08 05:19:36 +0000 |
commit | 4d11395f6512783b51409c335f28f791bf3a7916 (patch) | |
tree | 2bbe92f7e7c527de606696149f4ba1781151ec31 /usr.bin | |
parent | 3b0a25ce9e75c6ac0f7d2a015e84ed55e5f94fa1 (diff) | |
download | FreeBSD-src-4d11395f6512783b51409c335f28f791bf3a7916.zip FreeBSD-src-4d11395f6512783b51409c335f28f791bf3a7916.tar.gz |
Merge r374 from libarchive.googlecode.com: Stupid typo in open() call. <sigh>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tar/test/test_strip_components.c | 2 |
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)) |