Fix page fault in -vv mode.

PR:		16098
Submitted by:	Alan.Judge@indigo.ie
Reviewed by:	ru
This commit is contained in:
ru 2000-01-13 12:59:58 +00:00
parent 6e7f3d714f
commit acb5ac51e9

View File

@ -828,13 +828,13 @@ fprintlog(f, flags, msg)
if (LogFacPri > 1) {
CODE *c;
for (c = facilitynames; c; c++) {
for (c = facilitynames; c->c_name; c++) {
if (c->c_val == fac) {
f_s = c->c_name;
break;
}
}
for (c = prioritynames; c; c++) {
for (c = prioritynames; c->c_name; c++) {
if (c->c_val == pri) {
p_s = c->c_name;
break;