diff options
Diffstat (limited to 'resolv')
-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 9b308b189a..32ac829730 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; |