mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
logging: more API needing to log flags
Commit a21f5112 fixed one API, but missed two others that also failed to log their 'flags' argument. * src/libvirt.c (virNodeSuspendForDuration, virDomainGetHostname): Log flags parameter.
This commit is contained in:
parent
47e99e0d77
commit
5a608c3dee
@ -6713,7 +6713,8 @@ virNodeSuspendForDuration(virConnectPtr conn,
|
||||
unsigned int flags)
|
||||
{
|
||||
|
||||
VIR_DEBUG("conn=%p, target=%d, duration=%lld", conn, target, duration);
|
||||
VIR_DEBUG("conn=%p, target=%d, duration=%lld, flags=%x",
|
||||
conn, target, duration, flags);
|
||||
|
||||
virResetLastError();
|
||||
|
||||
@ -20233,7 +20234,7 @@ virDomainGetHostname(virDomainPtr domain, unsigned int flags)
|
||||
{
|
||||
virConnectPtr conn;
|
||||
|
||||
VIR_DOMAIN_DEBUG(domain);
|
||||
VIR_DOMAIN_DEBUG(domain, "flags=%x", flags);
|
||||
|
||||
virResetLastError();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user