summaryrefslogtreecommitdiff
path: root/tools/virsh-completer-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virsh-completer-interface.c')
-rw-r--r--tools/virsh-completer-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virsh-completer-interface.c b/tools/virsh-completer-interface.c
index 1eea2d462a..db819ae689 100644
--- a/tools/virsh-completer-interface.c
+++ b/tools/virsh-completer-interface.c
@@ -38,7 +38,7 @@ virshInterfaceStringHelper(vshControl *ctl,
virInterfacePtr *ifaces = NULL;
int nifaces = 0;
size_t i = 0;
- VIR_AUTOSTRINGLIST tmp = NULL;
+ g_auto(GStrv) tmp = NULL;
virCheckFlags(VIR_CONNECT_LIST_INTERFACES_ACTIVE |
VIR_CONNECT_LIST_INTERFACES_INACTIVE,