updated error reporting function to use new trousers interface.
updated error reporting function to use new trousers interface.

srajiv/tpm-tools,shpedoikal/tpm-tools,srajiv/tpm-tools,shpedoikal/tpm-tools,shpedoikal/tpm-tools,srajiv/tpm-tools