fixed error message in iostream
Merge pull request #1231 from daftshady/master

fixed error message in iostream