2018-04-03 17:41:24 +00:00
|
|
|
From 3eb59abe528f660e24e004a99b86686ea2f022c5 Mon Sep 17 00:00:00 2001
|
2018-01-17 22:04:09 +00:00
|
|
|
From: Peter Jones <pjones@redhat.com>
|
|
|
|
Date: Mon, 26 Jun 2017 12:43:22 -0400
|
2018-04-06 20:17:39 +00:00
|
|
|
Subject: [PATCH 187/229] don't ignore const
|
2018-01-17 22:04:09 +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
|
2018-02-27 18:56:41 +00:00
|
|
|
index dcd82494309..f90071353ad 100644
|
2018-01-17 22:04:09 +00:00
|
|
|
--- 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')
|
|
|
|
{
|
|
|
|
--
|
2018-02-27 18:56:41 +00:00
|
|
|
2.15.0
|
2018-01-17 22:04:09 +00:00
|
|
|
|