Add support for building Option HSO plugin as builtin
[connman] / plugins / polkit.c
index de183a2..16dd9d5 100644 (file)
@@ -47,7 +47,7 @@ static int polkit_authorize(const char *sender,
        PolKitCaller *caller;
        PolKitAction *action;
        PolKitResult result;
-       const char *id;
+       const char *id = NULL;
 
        DBG("sender %s", sender);
 
@@ -176,4 +176,4 @@ static void polkit_exit(void)
 }
 
 CONNMAN_PLUGIN_DEFINE(polkit, "PolicyKit authorization plugin", VERSION,
-                                               polkit_init, polkit_exit)
+               CONNMAN_PLUGIN_PRIORITY_DEFAULT, polkit_init, polkit_exit)