Better error reporting on printf's.