chiark / gitweb /
shell-completion: add shell completion for "systemctl help"
[elogind.git] / src / core / path.c
index ff49c069eebc96084d9b53b35c8aa12aa007e9f3..d5b5eeb4a120f722b15139c52e5a35d5eceba845 100644 (file)
@@ -31,7 +31,7 @@
 #include "mkdir.h"
 #include "dbus-path.h"
 #include "special.h"
-#include "bus-errors.h"
+#include "dbus-common.h"
 #include "path-util.h"
 #include "macro.h"
 
@@ -156,7 +156,7 @@ void path_spec_unwatch(PathSpec *s, Unit *u) {
 }
 
 int path_spec_fd_event(PathSpec *s, uint32_t events) {
-        uint8_t _cleanup_free_ *buf = NULL;
+        _cleanup_free_ uint8_t *buf = NULL;
         struct inotify_event *e;
         ssize_t k;
         int l;