projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbf1390
)
discover: Fix boot with initrd error
author
Geoff Levand
<geoff@infradead.org>
Mon, 15 Apr 2013 19:59:14 +0000
(12:59 -0700)
committer
Geoff Levand
<geoff@infradead.org>
Mon, 15 Apr 2013 20:01:59 +0000
(13:01 -0700)
Fix typo in boot() routine.
Signed-off-by: Geoff Levand <geoff@infradead.org>
discover/boot.c
patch
|
blob
|
history
diff --git
a/discover/boot.c
b/discover/boot.c
index 6109562491db79855655a4bf8431e07c20bd1e0f..02618cce1251fd070e3baec29c27bac762141c45 100644
(file)
--- a/
discover/boot.c
+++ b/
discover/boot.c
@@
-117,9
+117,9
@@
int boot(void *ctx, struct boot_option *opt, struct boot_command *cmd,
}
if (cmd->initrd_file) {
- i
mage
= talloc_strdup(ctx, cmd->initrd_file);
+ i
nitrd
= talloc_strdup(ctx, cmd->initrd_file);
} else if (opt && opt->initrd_file) {
- i
mage
= talloc_strdup(ctx, opt->initrd_file);
+ i
nitrd
= talloc_strdup(ctx, opt->initrd_file);
}
if (cmd->boot_args) {