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.
This commit is contained in:
parent
3960ad7fe4
commit
38c055312f
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user