2017-08-16 15:34:58 +00:00
|
|
|
From ba1843ecde7b5352aeebbe8ce0f7d9bfb95ec3fb Mon Sep 17 00:00:00 2001
|
2017-06-16 19:31:32 +00:00
|
|
|
From: Peter Jones <pjones@redhat.com>
|
|
|
|
Date: Mon, 26 Jun 2017 12:43:22 -0400
|
2017-08-16 15:14:30 +00:00
|
|
|
Subject: [PATCH 188/192] don't ignore const
|
2017-06-16 19:31:32 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
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 dcd824943..f90071353 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')
|
|
|
|
{
|
|
|
|
--
|
2017-08-16 15:14:30 +00:00
|
|
|
2.13.4
|
2017-06-16 19:31:32 +00:00
|
|
|
|