errcode: add white-space characters

Change-Id: If0df4f7947110b84b7c45dc909b3fbd5c5f048a6
kdig: set closed descriptor variable to -1

Coverity scan #1019149

Change-Id: I3beb8efced13d2bf5a5316ae02835739ffa54263