summaryrefslogtreecommitdiffstats
path: root/discover/grub2/grub2.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/grub2/grub2.c')
-rw-r--r--discover/grub2/grub2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/grub2/grub2.c b/discover/grub2/grub2.c
index ffb6ece..7f63c35 100644
--- a/discover/grub2/grub2.c
+++ b/discover/grub2/grub2.c
@@ -103,7 +103,7 @@ static int grub2_parse(struct discover_context *dc)
continue;
parser = grub2_parser_create(dc);
- grub2_parser_parse(parser, buf, len);
+ grub2_parser_parse(parser, *filename, buf, len);
talloc_free(buf);
talloc_free(parser);
break;
OpenPOWER on IntegriCloud