Merge r374 from libarchive.googlecode.com: Stupid typo in open() call. <sigh>
This commit is contained in:
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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user