audit: use DBUS_SYSTEM_LOG_WARNING if we cannot open the audit fd
[platform/upstream/dbus.git] / bus / bus.c
index 098985a..056f677 100644 (file)
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -973,7 +973,7 @@ bus_context_new (const DBusString *config_file,
          goto failed;
        }
 
-      bus_audit_init ();
+      bus_audit_init (context);
     }
 
   dbus_server_free_data_slot (&server_data_slot);