Provide a missing parameter to printf to stop the kernel from panicing.
This commit is contained in:
parent
f4ab860453
commit
287e8cbc62
@ -397,7 +397,7 @@ vxsetlink(sc)
|
||||
k = (prev_flags ^ ifp->if_flags) & (IFF_LINK0 | IFF_LINK1 | IFF_LINK2);
|
||||
if ((k != 0) || (prev_conn != i)) {
|
||||
if (warning != 0) {
|
||||
printf("vx%d: warning: %s\n", sc->unit);
|
||||
printf("vx%d: warning: %s\n", sc->unit, warning);
|
||||
}
|
||||
printf("vx%d: selected %s. (%s)\n",
|
||||
sc->unit, conn_tab[i].name, reason);
|
||||
|
Loading…
Reference in New Issue
Block a user