Fix constness warning introduced in syslog.h 1.21.

This commit is contained in:
dwmalone 2001-05-21 22:13:55 +00:00
parent b8061b0563
commit 7383805917

View File

@ -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) {