summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/linkaddr.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-08-16 01:00:37 +0000
committerpfg <pfg@FreeBSD.org>2014-08-16 01:00:37 +0000
commitb9f92aa01675f3c251452227be8a7afd7b6215e9 (patch)
tree26603ff85a6a4927648e2b9ccaef5d2ef52b63f0 /lib/libc/net/linkaddr.c
parentcc4d94d41f4dc42906a0f06a9c4beb8f612e0526 (diff)
downloadFreeBSD-src-b9f92aa01675f3c251452227be8a7afd7b6215e9.zip
FreeBSD-src-b9f92aa01675f3c251452227be8a7afd7b6215e9.tar.gz
MFC r269695:
Const-ify character string Obtained from: Apple Inc. (Libc 997.90.3) MFC after: 3 days
Diffstat (limited to 'lib/libc/net/linkaddr.c')
-rw-r--r--lib/libc/net/linkaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/linkaddr.c b/lib/libc/net/linkaddr.c
index 86bb7a2..5be6e74 100644
--- a/lib/libc/net/linkaddr.c
+++ b/lib/libc/net/linkaddr.c
@@ -118,7 +118,7 @@ link_addr(addr, sdl)
return;
}
-static char hexlist[] = "0123456789abcdef";
+static const char hexlist[] = "0123456789abcdef";
char *
link_ntoa(sdl)
OpenPOWER on IntegriCloud