From 3557096d444887a5d0a5f6fa034f0083d7efa816 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 9 Feb 2009 15:38:06 +0000 Subject: [PATCH] don't print uninitialized in debug diagnostic * qemud/mdns.c (libvirtd_mdns_timeout_new): Don't use local, t, uninitialized. --- ChangeLog | 6 ++++++ qemud/mdns.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c537ced63e..200674db8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Feb 9 10:13:28 +0100 2009 Jim Meyering + + don't print uninitialized in debug diagnostic + * qemud/mdns.c (libvirtd_mdns_timeout_new): Don't use local, t, + uninitialized. + Mon Feb 9 16:25:52 +0100 2009 Jim Meyering avoid two test failures induced by today's error-reporting changes diff --git a/qemud/mdns.c b/qemud/mdns.c index b13a6e58e3..ae6ff08535 100644 --- a/qemud/mdns.c +++ b/qemud/mdns.c @@ -309,7 +309,7 @@ static AvahiTimeout *libvirtd_mdns_timeout_new(const AvahiPoll *api ATTRIBUTE_UN AvahiTimeout *t; struct timeval now; long long nowms, thenms, timeout; - AVAHI_DEBUG("Add timeout %p TV %p", t, tv); + AVAHI_DEBUG("Add timeout TV %p", tv); if (VIR_ALLOC(t) < 0) return NULL;