From: Ruben Kerkhof Date: Fri, 4 Mar 2016 22:56:12 +0000 (+0100) Subject: unixsock plugin: constify X-Git-Tag: collectd-5.6.0~434 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4eeb5982e70e50c2ec58fcf8f2ac778438e2c9c6;p=collectd.git unixsock plugin: constify --- diff --git a/src/unixsock.c b/src/unixsock.c index 54a1e20d..795f7abe 100644 --- a/src/unixsock.c +++ b/src/unixsock.c @@ -151,7 +151,7 @@ static int us_open_socket (void) do { - char *grpname; + const char *grpname; struct group *g; struct group sg; char grbuf[2048];