summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/syslog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/syslog.h b/include/sys/syslog.h
index e8fc4e71e..3f5e6b297 100644
--- a/include/sys/syslog.h
+++ b/include/sys/syslog.h
@@ -67,8 +67,8 @@
/* mark "facility" */
#define INTERNAL_MARK LOG_MAKEPRI(LOG_NFACILITIES, 0)
typedef struct _code {
- char *c_name;
- int c_val;
+ const char *c_name;
+ int c_val;
} CODE;
#ifdef SYSLOG_NAMES_CONST