chiark / gitweb /
tree-wide: drop NULL sentinel from strjoin
[elogind.git] / src / login / logind-inhibit.c
index c93b24009bbc451ebca77c987c6f3606be18cd2f..a7e5c01ef38a16769c5a1584a37a06cfb61c185c 100644 (file)
@@ -294,7 +294,7 @@ int inhibitor_create_fifo(Inhibitor *i) {
                 if (r < 0)
                         return r;
 
-                i->fifo_path = strjoin("/run/systemd/inhibit/", i->id, ".ref", NULL);
+                i->fifo_path = strjoin("/run/systemd/inhibit/", i->id, ".ref");
                 if (!i->fifo_path)
                         return -ENOMEM;