1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

* resolv/res_debug.c (loc_ntoa): Define error as array, not pointer.

This commit is contained in:
Ulrich Drepper
2006-05-12 04:18:25 +00:00
parent 08cfb83947
commit 5d3fd1f641
2 changed files with 3 additions and 1 deletions

View File

@@ -896,7 +896,7 @@ loc_ntoa(binary, ascii)
const u_char *binary;
char *ascii;
{
static char *error = "?";
static char error[] = "?";
static char tmpbuf[sizeof
"1000 60 60.000 N 1000 60 60.000 W -12345678.00m 90000000.00m 90000000.00m 90000000.00m"];
const u_char *cp = binary;