diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-05-21 22:13:55 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-05-21 22:13:55 +0000 |
commit | 73838059177da115bc4cf154e40bf1ccf6f721ea (patch) | |
tree | cf763e7916a53c09e3e6c48c706e59532eafacc8 /usr.sbin/syslogd/syslogd.c | |
parent | b8061b05632cefc430f197422c0dc1d1a0f16558 (diff) | |
download | FreeBSD-src-73838059177da115bc4cf154e40bf1ccf6f721ea.zip FreeBSD-src-73838059177da115bc4cf154e40bf1ccf6f721ea.tar.gz |
Fix constness warning introduced in syslog.h 1.21.
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index a0198a3..c66550c 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -918,9 +918,9 @@ fprintlog(f, flags, msg) static char fp_buf[30]; /* Hollow laugh */ int fac = f->f_prevpri & LOG_FACMASK; int pri = LOG_PRI(f->f_prevpri); - char *f_s = 0; + const char *f_s = NULL; char f_n[5]; /* Hollow laugh */ - char *p_s = 0; + const char *p_s = NULL; char p_n[5]; /* Hollow laugh */ if (LogFacPri > 1) { |