Missing `break' statements caused two error messages to become
"unkown error" [sic]. Add the missing breaks, and correct the spelling typo. PR: bin/30865 Submitted by: Dan Lukes <dan@obluda.cz> MFC after: 1 week
This commit is contained in:
parent
a3c9f0dc11
commit
c2c0f1952e
@ -697,10 +697,12 @@ process_entry(host, src)
|
||||
break;
|
||||
case E_BAD_PATHNAME:
|
||||
msg = "bad pathname (need leading '/')";
|
||||
break;
|
||||
case E_BAD_VALUE:
|
||||
msg = "bad value";
|
||||
break;
|
||||
default:
|
||||
msg = "unkown error";
|
||||
msg = "unknown error";
|
||||
break;
|
||||
} /* switch */
|
||||
report(LOG_ERR, "in entry named \"%s\", symbol \"%s\": %s",
|
||||
|
Loading…
x
Reference in New Issue
Block a user