nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone
4fe85b
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
4fe85b
From: Peter Jones <pjones@redhat.com>
4fe85b
Date: Thu, 21 Jun 2018 19:09:11 -0400
4fe85b
Subject: [PATCH] tftp: Fix a minor const error
4fe85b
4fe85b
Signed-off-by: Peter Jones <pjones@redhat.com>
4fe85b
---
4fe85b
 grub-core/net/tftp.c | 2 +-
4fe85b
 1 file changed, 1 insertion(+), 1 deletion(-)
4fe85b
4fe85b
diff --git a/grub-core/net/tftp.c b/grub-core/net/tftp.c
4fe85b
index 17583cba380..e267af354f4 100644
4fe85b
--- a/grub-core/net/tftp.c
4fe85b
+++ b/grub-core/net/tftp.c
4fe85b
@@ -307,7 +307,7 @@ static void
4fe85b
 grub_normalize_filename (char *normalized, const char *filename)
4fe85b
 {
4fe85b
   char *dest = normalized;
4fe85b
-  char *src = filename;
4fe85b
+  const char *src = filename;
4fe85b
 
4fe85b
   while (*src != '\0')
4fe85b
     {