Changed error formatting some.

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>