grub2/0086-don-t-ignore-const.patch

26 lines
645 B
Diff
Raw Normal View History

2020-07-29 20:47:36 +08:00
From f35f4b17be40199adb6df155f208da0a33ea95e9 Mon Sep 17 00:00:00 2001
2019-09-30 10:52:04 -04:00
From: Peter Jones <pjones@redhat.com>
Date: Mon, 26 Jun 2017 12:43:22 -0400
2020-07-29 20:47:36 +08:00
Subject: [PATCH 086/220] don't ignore const
2019-09-30 10:52:04 -04: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
2020-07-29 20:47:36 +08:00
index dcd8249..f900713 100644
2019-09-30 10:52:04 -04: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')
{
2020-07-29 20:47:36 +08:00
--
1.8.3.1