tree-wide: use streq() instead of streq_ptr()

This commit is contained in:
Yu Watanabe
2018-09-23 17:18:50 +09:00
parent dcfbde3a43
commit 403660c508
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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;
}