The mode argument passed to fopen() or freopen() specified a variable record format, lrecl, and blksize, but the blksize was not at least 4 bytes larger than the lrecl. The first 4 bytes of a variable block contains the BDW, and therefore requires a minimum size of lrecl + 4. This failure occurred trying to open a terminal file.
Correct the mode argument.
JrEdc1opsEbadattr04