diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c index 9eafaee4c8..805d7d7962 100644 --- a/src/security/virt-aa-helper.c +++ b/src/security/virt-aa-helper.c @@ -1084,7 +1084,7 @@ get_files(vahControl * ctl) /* We don't need to add deny rw rules for readonly mounts, * this can only lead to troubles when mounting / readonly. */ - if (vah_add_path(&buf, fs->src, "rw", true) != 0) + if (vah_add_path(&buf, fs->src->path, "rw", true) != 0) goto cleanup; } }