better error message. include errno.
Authored by: anallyst 2011-03-05
Parent: [r3120]
Child: [r3122]