chiark / gitweb /
tree-wide: drop NULL sentinel from strjoin
[elogind.git] / src / basic / util.c
index 27c3d483931d6ed5c39861b1707931ccff621087..c73a7df19bb89d07a7d42fb04d92e2dc36123f8a 100644 (file)
@@ -131,7 +131,7 @@ static int do_execute(char **directories, usec_t timeout, char *argv[]) {
                         if (r < 0)
                                 return log_oom();
 
-                        path = strjoin(*directory, "/", de->d_name, NULL);
+                        path = strjoin(*directory, "/", de->d_name);
                         if (!path)
                                 return log_oom();