summaryrefslogtreecommitdiff
path: root/ltp/iogen.c
diff options
context:
space:
mode:
authorBarry Naujok <bnaujok@sgi.com>2008-11-20 14:23:14 +0000
committerBarry Naujok <bnaujok@sgi.com>2008-11-20 14:23:14 +0000
commit05163b1003ca0dab31579fd4a41c90c77486c3c3 (patch)
treecdc334a47e0f80a6fe43230b216071fa99c421c5 /ltp/iogen.c
parent2ccda108c474caf58c5d7ebf090af072795df0c0 (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.c2
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;