Commit 3846662d authored by Warner Losh's avatar Warner Losh
Browse files

cam: Initialize wired to false

As part of converting the code to a while loop, the unconditional
initialization of wired to false was lost.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D33163
parent c508b081
......@@ -600,7 +600,7 @@ static u_int
camperiphunit(struct periph_driver *p_drv, path_id_t pathid,
target_id_t target, lun_id_t lun, const char *sn)
{
bool wired;
bool wired = false;
u_int unit;
int i, val, dunit;
const char *dname, *strval;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment