Fix page fault in -vv mode.
PR: 16098 Submitted by: Alan.Judge@indigo.ie Reviewed by: ru
This commit is contained in:
parent
b0359e5d90
commit
533eb9138f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55906
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user