summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1998-02-21 04:32:56 +0000
committergpalmer <gpalmer@FreeBSD.org>1998-02-21 04:32:56 +0000
commite3ff1230b2e2f6ecb642b2757fe1f3ba7cf5eab4 (patch)
treeeb0ce9e5dc53ab25820cbfe03233bd7ece672653 /sys/dev/vx
parent8049881931ac9991624de2df1fe25e324f2743d3 (diff)
downloadFreeBSD-src-e3ff1230b2e2f6ecb642b2757fe1f3ba7cf5eab4.zip
FreeBSD-src-e3ff1230b2e2f6ecb642b2757fe1f3ba7cf5eab4.tar.gz
Provide a missing parameter to printf to stop the kernel from panicing.
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c
index 78208c2..6b39f86 100644
--- a/sys/dev/vx/if_vx.c
+++ b/sys/dev/vx/if_vx.c
@@ -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);
OpenPOWER on IntegriCloud