summaryrefslogtreecommitdiff
path: root/src/rfkill/rfkill.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-09-01 23:03:22 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-09-23 17:18:50 +0900
commit403660c508153a65ac3738b1f0884c74feb4acf6 (patch)
treeaebc3321591d28bd3347821650adc48136940ff7 /src/rfkill/rfkill.c
parentdcfbde3a43d632ff6e286c77e1081087eca59d8e (diff)
downloadsystemd-403660c508153a65ac3738b1f0884c74feb4acf6.tar.gz
tree-wide: use streq() instead of streq_ptr()
Diffstat (limited to 'src/rfkill/rfkill.c')
-rw-r--r--src/rfkill/rfkill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfkill/rfkill.c b/src/rfkill/rfkill.c
index 36b82a4c92..7939c2d2fe 100644
--- a/src/rfkill/rfkill.c
+++ b/src/rfkill/rfkill.c
@@ -149,7 +149,7 @@ static int wait_for_initialized(
if (r < 0)
continue;
- if (sd_device_get_sysname(t, &name) >= 0 && streq_ptr(name, sysname)) {
+ if (sd_device_get_sysname(t, &name) >= 0 && streq(name, sysname)) {
*ret = TAKE_PTR(t);
return 0;
}