Fix diagnostic output.