aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/virt-aa-helper.c')
-rw-r--r--src/security/virt-aa-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index bb716e6db..08ff53c30 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -1204,7 +1204,7 @@ main(int argc, char **argv)
virBufferVSprintf(&buf, " \"%s/run/libvirt/**/%s.pid\" rwk,\n",
LOCALSTATEDIR, ctl->def->name);
if (ctl->files)
- virBufferVSprintf(&buf, "%s", ctl->files);
+ virBufferAdd(&buf, ctl->files, -1);
}
if (virBufferError(&buf)) {