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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84119
@ -697,10 +697,12 @@ process_entry(host, src)
|
|||||||
break;
|
break;
|
||||||
case E_BAD_PATHNAME:
|
case E_BAD_PATHNAME:
|
||||||
msg = "bad pathname (need leading '/')";
|
msg = "bad pathname (need leading '/')";
|
||||||
|
break;
|
||||||
case E_BAD_VALUE:
|
case E_BAD_VALUE:
|
||||||
msg = "bad value";
|
msg = "bad value";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
msg = "unkown error";
|
msg = "unknown error";
|
||||||
break;
|
break;
|
||||||
} /* switch */
|
} /* switch */
|
||||||
report(LOG_ERR, "in entry named \"%s\", symbol \"%s\": %s",
|
report(LOG_ERR, "in entry named \"%s\", symbol \"%s\": %s",
|
||||||
|
Loading…
Reference in New Issue
Block a user