This is due to the fact of possible race condition in fopen(). Also, ipmi_open_file() could double if there was a way how to pass mode or whatever. We'll see, but scattered use of fopen() and almost no use of ipmi_open_file(), which does some reasonable(?) FS checks, seems wrong.
Log in to post a comment.