The error is already demonstrated in the OP. The error is not in the output, but in the fact that in the second case an error (warning) message is emitted when there is no error to report. The fact that there is no error to report is demonstrated by the fact that the output of the two cases is identical (nearly, the second output has an additional character at the beginning) and neither are garbled or erroneous in anyway.
--DrWhy
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."