diff options
author | Barry Naujok <bnaujok@sgi.com> | 2008-11-20 14:23:14 +0000 |
---|---|---|
committer | Barry Naujok <bnaujok@sgi.com> | 2008-11-20 14:23:14 +0000 |
commit | 05163b1003ca0dab31579fd4a41c90c77486c3c3 (patch) | |
tree | cdc334a47e0f80a6fe43230b216071fa99c421c5 /ltp/iogen.c | |
parent | 2ccda108c474caf58c5d7ebf090af072795df0c0 (diff) |
xfstests: fix nr of args in open calls
Merge of master-melb:xfs-cmds:32509a by kenmcd.
fix nr of args in open calls
Diffstat (limited to 'ltp/iogen.c')
-rw-r--r-- | ltp/iogen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ltp/iogen.c b/ltp/iogen.c index 17087285..b83b8f48 100644 --- a/ltp/iogen.c +++ b/ltp/iogen.c @@ -1060,7 +1060,7 @@ int nbytes; Oflags |= O_CREAT | O_WRONLY; - if ((fd = open(path, Oflags, 0666, Ocbits, Ocblks)) == -1) { + if ((fd = open(path, Oflags, 0666)) == -1) { fprintf(stderr, "iogen%s: Could not create/open file %s: %s (%d)\n", TagName, path, SYSERR, errno); return -1; |