projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9158d03
)
bus-policy: story mandatory items in right list
author
Daniel Mack
<daniel@zonque.org>
Fri, 19 Sep 2014 15:50:41 +0000
(17:50 +0200)
committer
Daniel Mack
<daniel@zonque.org>
Sat, 20 Sep 2014 16:47:45 +0000
(18:47 +0200)
src/bus-proxyd/bus-policy.c
patch
|
blob
|
history
diff --git
a/src/bus-proxyd/bus-policy.c
b/src/bus-proxyd/bus-policy.c
index d2eace940512645089192da8ae460fcddb197c6f..8676d31f624af719fc6bc1f0727a5912e60ddb77 100644
(file)
--- a/
src/bus-proxyd/bus-policy.c
+++ b/
src/bus-proxyd/bus-policy.c
@@
-332,7
+332,7
@@
static int file_load(Policy *p, const char *path) {
if (policy_category == POLICY_CATEGORY_DEFAULT)
LIST_PREPEND(items, p->default_items, i);
else if (policy_category == POLICY_CATEGORY_MANDATORY)
- LIST_PREPEND(items, p->
default
_items, i);
+ LIST_PREPEND(items, p->
mandatory
_items, i);
else if (policy_category == POLICY_CATEGORY_USER) {
const char *u = policy_user;