diff options
author | phk <phk@FreeBSD.org> | 2001-05-21 17:32:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-05-21 17:32:47 +0000 |
commit | 9b5c53fcf3260b64aa94c6143269f6085a742542 (patch) | |
tree | 0cfa67740800cd83f8ed67fdacb9143d9d49045a | |
parent | 2a37b0116422b996a34bd243d700fceafea5bd6d (diff) | |
download | FreeBSD-src-9b5c53fcf3260b64aa94c6143269f6085a742542.zip FreeBSD-src-9b5c53fcf3260b64aa94c6143269f6085a742542.tar.gz |
syslog.h fails to compile with -Wwrite-strings
PR: 27492
Submitted by: Alexey V. Neyman <avn@any.ru>
-rw-r--r-- | sys/sys/syslog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h index 0858af5..c14e024 100644 --- a/sys/sys/syslog.h +++ b/sys/sys/syslog.h @@ -68,8 +68,8 @@ /* mark "facility" */ #define INTERNAL_MARK LOG_MAKEPRI((LOG_NFACILITIES<<3), 0) typedef struct _code { - char *c_name; - int c_val; + const char *c_name; + int c_val; } CODE; CODE prioritynames[] = { |