On 08/09/2012 09:20 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> > > Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx> > --- > src/locking/domain_lock.c | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > No functional change, but easier to debug. ACK. > diff --git a/src/locking/domain_lock.c b/src/locking/domain_lock.c > index ba49f9c..4ac16f2 100644 > --- a/src/locking/domain_lock.c > +++ b/src/locking/domain_lock.c > @@ -160,6 +160,9 @@ int virDomainLockProcessStart(virLockManagerPluginPtr plugin, > int ret; > int flags = VIR_LOCK_MANAGER_ACQUIRE_RESTRICT; > > + VIR_DEBUG("plugin=%p dom=%p paused=%d fd=%p", > + plugin, dom, paused, fd); I did a double-take on the fd=%p, but it really is a pointer whose contents will be set later on, and not an int whose value we report now. -- Eric Blake eblake@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list