chiark / gitweb /
util-lib: rename CHASE_NON_EXISTING → CHASE_NONEXISTENT
[elogind.git] / src / basic / fileio.c
index 4ad2acf3bd7d9f5a404c1b04f89fe378f4a0d6f5..f4915b28a7092f91d2c3d7ae5f8c2582738b5cf6 100644 (file)
@@ -676,7 +676,7 @@ static int load_env_file_push(
                 return -EINVAL;
         }
 
-        p = strjoin(key, "=", strempty(value), NULL);
+        p = strjoin(key, "=", strempty(value));
         if (!p)
                 return -ENOMEM;
 
@@ -965,9 +965,9 @@ static int search_and_fopen_internal(const char *path, const char *mode, const c
                 FILE *f;
 
                 if (root)
-                        p = strjoin(root, *i, "/", path, NULL);
+                        p = strjoin(root, *i, "/", path);
                 else
-                        p = strjoin(*i, "/", path, NULL);
+                        p = strjoin(*i, "/", path);
                 if (!p)
                         return -ENOMEM;