chiark / gitweb /
tree-wide: drop NULL sentinel from strjoin
[elogind.git] / src / login / pam_elogind.c
index 4f023640f6517f953a74d4036e27604677b06f2f..b0f75b2a21c4941ec8fd5f81c11b55eb533bb1b1 100644 (file)
@@ -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;