Fix bogus cast to (int) in virNetServerMDNSTimeoutNew

The virNetServerMDNSTimeoutNew method was casting a long long
to an int when reporting errors. This should just be using
%lld instead of %d, avoiding the need to cast

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2012-07-18 16:29:19 +01:00
parent 605df4f4d9
commit 8a89c08069

View File

@ -368,7 +368,7 @@ static AvahiTimeout *virNetServerMDNSTimeoutNew(const AvahiPoll *api ATTRIBUTE_U
if (t->timer < 0) {
virNetError(VIR_ERR_INTERNAL_ERROR,
_("Failed to add timer with timeout %d"), (int)timeout);
_("Failed to add timer with timeout %lld"), timeout);
VIR_FREE(t);
return NULL;
}