Provide a missing parameter to printf to stop the kernel from panicing.

This commit is contained in:
gpalmer 1998-02-21 04:32:56 +00:00
parent f4ab860453
commit 287e8cbc62

View File

@ -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);