summaryrefslogtreecommitdiff
path: root/src/login/logind-acl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-05 01:10:21 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-05 01:13:05 +0100
commitcc3773810855956bad92337cee8fa193584ab62e (patch)
treeea8a067a1b879d0ef11bac1dbc99757d8ad7b445 /src/login/logind-acl.c
parent6d1bd3b2bbae29dbd3862fdb9af2b472b01c480e (diff)
logind: port logind to libsystemd-bus
Diffstat (limited to 'src/login/logind-acl.c')
-rw-r--r--src/login/logind-acl.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/login/logind-acl.c b/src/login/logind-acl.c
index 25abcbcf80..2df2ba2c17 100644
--- a/src/login/logind-acl.c
+++ b/src/login/logind-acl.c
@@ -20,15 +20,15 @@
***/
#include <assert.h>
-#include <sys/acl.h>
-#include <acl/libacl.h>
#include <errno.h>
#include <string.h>
+#include <sys/acl.h>
+#include <acl/libacl.h>
-#include "logind-acl.h"
#include "util.h"
#include "acl-util.h"
#include "set.h"
+#include "logind-acl.h"
static int flush_acl(acl_t acl) {
acl_entry_t i;
@@ -190,9 +190,8 @@ int devnode_acl_all(struct udev *udev,
assert(udev);
nodes = set_new(string_hash_func, string_compare_func);
- if (!nodes) {
+ if (!nodes)
return -ENOMEM;
- }
e = udev_enumerate_new(udev);
if (!e) {