[PATCH] vsprintf: spread "const char *"

From: Alexey Dobriyan
Date: Thu Dec 19 2019 - 12:35:04 EST


Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

lib/vsprintf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -1550,7 +1550,7 @@ static noinline_for_stack
char *ip_addr_string(char *buf, char *end, const void *ptr,
struct printf_spec spec, const char *fmt)
{
- char *err_fmt_msg;
+ const char *err_fmt_msg;

if (check_pointer(&buf, end, ptr, spec))
return buf;