]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/machine/machine-dbus.c
strv: wrap strv_new() in a macro so that NULL sentinel is implicit
[thirdparty/systemd.git] / src / machine / machine-dbus.c
index 77e8b161b027eea1c7e9d6c1d3fd6640d938276e..4f4d780db0f866a6bf97d02dc53524f4103e78e7 100644 (file)
@@ -605,7 +605,7 @@ int bus_machine_method_open_shell(sd_bus_message *message, void *userdata, sd_bu
                 if (strv_isempty(args)) {
                         args = strv_free(args);
 
-                        args = strv_new(path, NULL);
+                        args = strv_new(path);
                         if (!args)
                                 return -ENOMEM;
                 }