diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-05-12 04:18:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-12 04:18:25 +0000 |
commit | 5d3fd1f6417f6775557183a3992209237d5539e9 (patch) | |
tree | e11ce9f95318ad3cc0eec469ad00718eba1c8591 /resolv/res_debug.c | |
parent | 08cfb83947cd34cb2e7a947430e9aa23ecfd244f (diff) | |
download | glibc-5d3fd1f6417f6775557183a3992209237d5539e9.zip glibc-5d3fd1f6417f6775557183a3992209237d5539e9.tar.gz glibc-5d3fd1f6417f6775557183a3992209237d5539e9.tar.bz2 |
* resolv/res_debug.c (loc_ntoa): Define error as array, not pointer.
Diffstat (limited to 'resolv/res_debug.c')
-rw-r--r-- | resolv/res_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c index 9b308b1..32ac829 100644 --- a/resolv/res_debug.c +++ b/resolv/res_debug.c @@ -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; |