summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/boot.c b/commands/boot.c
index c4b49a9035..ccf5827a59 100644
--- a/commands/boot.c
+++ b/commands/boot.c
@@ -308,7 +308,7 @@ static int boot(const char *name)
{
struct blspec *blspec;
struct blspec_entry *entry;
- int ret = -ENOENT;
+ int ret;
blspec = blspec_alloc();
ret = bootentry_parse_one(blspec, name);