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

This commit is contained in:
Gary Palmer 1998-02-21 04:32:56 +00:00
parent ad42b1082d
commit 559e730459
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33705

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