systemctl: use streq() if arguments must be non-NULL

This commit is contained in:
Yu Watanabe
2019-03-04 23:35:56 +09:00
parent a3ddd4571d
commit 8e066ef316
+1 -1
View File
@@ -4725,7 +4725,7 @@ static int print_property(const char *name, const char *expected_value, sd_bus_m
bus_print_property_valuef(name, expected_value, value, "%s \"%s\"", strempty(a), strempty(b));
return 1;
} else if (streq_ptr(name, "SystemCallFilter")) {
} else if (streq(name, "SystemCallFilter")) {
_cleanup_strv_free_ char **l = NULL;
int whitelist;