summaryrefslogtreecommitdiff
path: root/src/boot/boot-loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/boot-loader.c')
-rw-r--r--src/boot/boot-loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/boot-loader.c b/src/boot/boot-loader.c
index d1a8b0320b..d44fdb3aef 100644
--- a/src/boot/boot-loader.c
+++ b/src/boot/boot-loader.c
@@ -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;
}