summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev_dbus.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/udev_dbus.c b/udev_dbus.c
index a031a41101..7e767040f0 100644
--- a/udev_dbus.c
+++ b/udev_dbus.c
@@ -10,8 +10,7 @@
#include <dbus/dbus.h>
#include "udev.h"
-#include "udev_version.h"
-#include "udev_dbus.h"
+#include "udev_lib.h"
#include "logging.h"
#ifdef LOG
@@ -145,7 +144,7 @@ int main(int argc, char *argv[], char *envp[])
sysbus_connect();
if (sysbus_connection == NULL)
- return;
+ return 0;
action = get_action();
if (!action) {