Merge r374 from libarchive.googlecode.com: Stupid typo in open() call. <sigh>

This commit is contained in:
Tim Kientzle 2009-03-08 05:19:36 +00:00
parent c9dae218f2
commit e8f0b45249

@ -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))