Fix location of fix for fixing
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
This commit is contained in:
parent
e72456a804
commit
e849938f16
@ -26,7 +26,7 @@ Signed-off-by: Robbie Harwood <rharwood@redhat.com>
|
||||
3 files changed, 47 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/grub-core/commands/search.c b/grub-core/commands/search.c
|
||||
index 51656e361cc..dc182bf2017 100644
|
||||
index 51656e361cc..57d26ced8a8 100644
|
||||
--- a/grub-core/commands/search.c
|
||||
+++ b/grub-core/commands/search.c
|
||||
@@ -47,7 +47,7 @@ struct search_ctx
|
||||
@ -34,7 +34,7 @@ index 51656e361cc..dc182bf2017 100644
|
||||
const char *key;
|
||||
const char *var;
|
||||
- int no_floppy;
|
||||
+ enum search_flags flags = 0;
|
||||
+ enum search_flags flags;
|
||||
char **hints;
|
||||
unsigned nhints;
|
||||
int count;
|
||||
@ -86,7 +86,7 @@ index 51656e361cc..dc182bf2017 100644
|
||||
.nhints = nhints,
|
||||
.count = 0,
|
||||
diff --git a/grub-core/commands/search_wrap.c b/grub-core/commands/search_wrap.c
|
||||
index 47fc8eb9966..464e6ebb1c8 100644
|
||||
index 47fc8eb9966..0b62acf8535 100644
|
||||
--- a/grub-core/commands/search_wrap.c
|
||||
+++ b/grub-core/commands/search_wrap.c
|
||||
@@ -40,6 +40,7 @@ static const struct grub_arg_option options[] =
|
||||
@ -109,7 +109,7 @@ index 47fc8eb9966..464e6ebb1c8 100644
|
||||
const char *id = 0;
|
||||
int i = 0, j = 0, nhints = 0;
|
||||
char **hints = NULL;
|
||||
+ enum search_flags flags;
|
||||
+ enum search_flags flags = 0;
|
||||
|
||||
if (state[SEARCH_HINT].set)
|
||||
for (i = 0; state[SEARCH_HINT].args[i]; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user