Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz> writes:
> In function open,
> inlined from main at test_fsync.c:66:
> /usr/include/bits/fcntl2.h:45: error: call to __open_too_many_args
> declared with attribute error: open can be called either with 2 or 3
> arguments, not more
Interesting --- it's certainly wrong, but I don't see that complaint
here (on Fedora 13).
> The tiny change (attached) seems it fix it for me.
Agreed, this is a bug fix. Applied.
regards, tom lane