diff options
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; |