mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
Fix const-ness in file filters patch
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
This commit is contained in:
parent
82f5820dd4
commit
2fa153d5c6
1 changed files with 2 additions and 2 deletions
|
@ -15,14 +15,14 @@ Signed-off-by: Peter Jones <pjones@redhat.com>
|
||||||
1 file changed, 11 insertions(+)
|
1 file changed, 11 insertions(+)
|
||||||
|
|
||||||
diff --git a/grub-core/kern/file.c b/grub-core/kern/file.c
|
diff --git a/grub-core/kern/file.c b/grub-core/kern/file.c
|
||||||
index ed69fc0f0f..3f175630ea 100644
|
index ed69fc0f0f..20a4c839aa 100644
|
||||||
--- a/grub-core/kern/file.c
|
--- a/grub-core/kern/file.c
|
||||||
+++ b/grub-core/kern/file.c
|
+++ b/grub-core/kern/file.c
|
||||||
@@ -30,6 +30,14 @@ void (*EXPORT_VAR (grub_grubnet_fini)) (void);
|
@@ -30,6 +30,14 @@ void (*EXPORT_VAR (grub_grubnet_fini)) (void);
|
||||||
|
|
||||||
grub_file_filter_t grub_file_filters[GRUB_FILE_FILTER_MAX];
|
grub_file_filter_t grub_file_filters[GRUB_FILE_FILTER_MAX];
|
||||||
|
|
||||||
+static char *filter_names[] = {
|
+static const char *filter_names[] = {
|
||||||
+ [GRUB_FILE_FILTER_VERIFY] = "GRUB_FILE_FILTER_VERIFY",
|
+ [GRUB_FILE_FILTER_VERIFY] = "GRUB_FILE_FILTER_VERIFY",
|
||||||
+ [GRUB_FILE_FILTER_GZIO] = "GRUB_FILE_FILTER_GZIO",
|
+ [GRUB_FILE_FILTER_GZIO] = "GRUB_FILE_FILTER_GZIO",
|
||||||
+ [GRUB_FILE_FILTER_XZIO] = "GRUB_FILE_FILTER_XZIO",
|
+ [GRUB_FILE_FILTER_XZIO] = "GRUB_FILE_FILTER_XZIO",
|
||||||
|
|
Loading…
Reference in a new issue