Provide a missing parameter to printf to stop the kernel from panicing.
This commit is contained in:
parent
ad42b1082d
commit
559e730459
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33705
@ -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