summaryrefslogtreecommitdiff
path: root/src/boot/boot-loader.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-02-13 18:13:22 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-02-13 18:14:20 +0100
commit090be8653471e1abe3f1cdd32eaad0fbd65f85cd (patch)
tree760849764326e78d458ff7019ac8b3f2d88245d8 /src/boot/boot-loader.c
parentb05105f0a80bcf2f2d18e9e33f740d7d04fca633 (diff)
use streq instead of strcmp
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;
}