summaryrefslogtreecommitdiff
path: root/src/util/virhook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/virhook.c')
-rw-r--r--src/util/virhook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/virhook.c b/src/util/virhook.c
index aad3e667d3..05d46f259e 100644
--- a/src/util/virhook.c
+++ b/src/util/virhook.c
@@ -343,7 +343,7 @@ virHookCall(int driver,
struct dirent *entry;
g_autofree char *path = NULL;
g_autofree char *dir_path = NULL;
- VIR_AUTOSTRINGLIST entries = NULL;
+ g_auto(GStrv) entries = NULL;
const char *drvstr;
const char *opstr;
const char *subopstr;