chiark / gitweb /
logind: filter out input devices that have none of the keys/switche we care about
[elogind.git] / src / login / pam_elogind.c
index 4f023640f6517f953a74d4036e27604677b06f2f..dab082a26ee9269f69b8d895bdef72c13a090553 100644 (file)
@@ -36,7 +36,7 @@
 #include "def.h"
 #include "fd-util.h"
 #include "fileio.h"
-#include "formats-util.h"
+#include "format-util.h"
 #include "hostname-util.h"
 #include "login-util.h"
 #include "macro.h"
@@ -186,7 +186,7 @@ static int export_legacy_dbus_address(
          * daemons that spawn dbus-daemon, instead of forcing
          * DBUS_SESSION_BUS_ADDRESS= here. */
 
-        s = strjoin(runtime, "/bus", NULL);
+        s = strjoin(runtime, "/bus");
         if (!s)
                 goto error;