]> Pileus Git - ~andy/linux/blobdiff - security/apparmor/lib.c
perf header: Swap pmu mapping numbers if needed
[~andy/linux] / security / apparmor / lib.c
index e75829ba0ff91f771d37e8dd6f7554748c8a1988..7430298116d6b2b71b9e6c0c55d6b2ff4867ee96 100644 (file)
@@ -66,7 +66,7 @@ void aa_info_message(const char *str)
        if (audit_enabled) {
                struct common_audit_data sa;
                struct apparmor_audit_data aad = {0,};
-               COMMON_AUDIT_DATA_INIT(&sa, NONE);
+               sa.type = LSM_AUDIT_DATA_NONE;
                sa.aad = &aad;
                aad.info = str;
                aa_audit_msg(AUDIT_APPARMOR_STATUS, &sa, NULL);