Date: Fri, 19 Dec 2008 18:27:51 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186331 - head/usr.sbin/syslogd Message-ID: <200812191827.mBJIRp8b079330@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Fri Dec 19 18:27:51 2008 New Revision: 186331 URL: http://svn.freebsd.org/changeset/base/186331 Log: Constify 'name' field in struct funix. This commit makes syslogd(8) WARNS?=6 on amd64 but I have not tested under universe so keep WARNS?= level as-is for now. Modified: head/usr.sbin/syslogd/syslogd.c Modified: head/usr.sbin/syslogd/syslogd.c ============================================================================== --- head/usr.sbin/syslogd/syslogd.c Fri Dec 19 16:56:49 2008 (r186330) +++ head/usr.sbin/syslogd/syslogd.c Fri Dec 19 18:27:51 2008 (r186331) @@ -128,7 +128,7 @@ const char ctty[] = _PATH_CONSOLE; */ struct funix { int s; - char *name; + const char *name; mode_t mode; STAILQ_ENTRY(funix) next; };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812191827.mBJIRp8b079330>