From 8e066ef316ed1af3758b35d544c80dbca878df66 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 2 Mar 2019 23:50:59 +0900 Subject: [PATCH] systemctl: use streq() if arguments must be non-NULL --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 966218149f..984dd4deaa 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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;