Fix the val reading for MSG_ERROR_EXIT. Use 0-length MSG_DATA when