[libvirt] [PATCH] admin: include: Rename argument dmn to conn in virAdmConnectListServers

Erik Skultety eskultet at redhat.com
Tue May 17 10:47:30 UTC 2016

This is just a trivial cosmetic change, throughout all the APIs the argument
is called conn as from 'connection', having 'dmn' at just this single place
might look odd, so better change it now when the interface is still explicitly
disabled and we still have the ability to alter the signatures and public
names before officially enabling it.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
pushed under trivial rule


 include/libvirt/libvirt-admin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/libvirt/libvirt-admin.h b/include/libvirt/libvirt-admin.h
index 4e6074e..bde4aef 100644
--- a/include/libvirt/libvirt-admin.h
+++ b/include/libvirt/libvirt-admin.h
@@ -91,7 +91,7 @@ int virAdmConnectRef(virAdmConnectPtr conn);
 int virAdmConnectIsAlive(virAdmConnectPtr conn);
 int virAdmServerFree(virAdmServerPtr srv);
-int virAdmConnectListServers(virAdmConnectPtr dmn,
+int virAdmConnectListServers(virAdmConnectPtr conn,
                              virAdmServerPtr **servers,
                              unsigned int flags);

More information about the libvir-list mailing list