'unit' can be negative, so use signed type for it.
Found by: Coverity Prevent CID: 3731 MFC after: 3 days
This commit is contained in:
parent
15725379d0
commit
2aa15ffdab
@ -210,7 +210,7 @@ g_gate_start(struct bio *bp)
|
||||
}
|
||||
|
||||
static struct g_gate_softc *
|
||||
g_gate_hold(u_int unit, const char *name)
|
||||
g_gate_hold(int unit, const char *name)
|
||||
{
|
||||
struct g_gate_softc *sc = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user