mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-28 15:46:53 +00:00
5725bcd5ca
Signed-off-by: Peter Jones <pjones@redhat.com>
25 lines
652 B
Diff
25 lines
652 B
Diff
From d06e2578107f217d2bc8beee7fd0dc7f2645873d Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Mon, 26 Jun 2017 12:43:22 -0400
|
|
Subject: [PATCH 186/251] don't ignore const
|
|
|
|
---
|
|
grub-core/net/tftp.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/net/tftp.c b/grub-core/net/tftp.c
|
|
index dcd82494309..f90071353ad 100644
|
|
--- a/grub-core/net/tftp.c
|
|
+++ b/grub-core/net/tftp.c
|
|
@@ -307,7 +307,7 @@ static void
|
|
grub_normalize_filename (char *normalized, const char *filename)
|
|
{
|
|
char *dest = normalized;
|
|
- char *src = filename;
|
|
+ const char *src = filename;
|
|
|
|
while (*src != '\0')
|
|
{
|
|
--
|
|
2.17.1
|
|
|