use streq instead of strcmp

This commit is contained in:
Thomas Hindoe Paaboel Andersen
2013-02-13 18:14:20 +01:00
parent b05105f0a8
commit 090be86534
22 changed files with 66 additions and 66 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ int boot_loader_find_active_entry(struct boot_info *info, const char *loader_act
return -ENOMEM;
for (i = 0; i < info->loader_entries_count; i++) {
if (strcmp(fn, info->loader_entries[i].path) == 0) {
if (streq(fn, info->loader_entries[i].path)) {
info->loader_entry_active = i;
break;
}