log_error(): trivial fix