summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_tap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_tap.c b/sys/net/if_tap.c
index fe53a6a..62005a3 100644
--- a/sys/net/if_tap.c
+++ b/sys/net/if_tap.c
@@ -205,7 +205,7 @@ vmnet_clone_create(struct if_clone *ifc, int unit, caddr_t params)
i = clone_create(&tapclones, &tap_cdevsw, &unit, &dev, VMNET_DEV_MASK);
if (i) {
dev = make_dev(&tap_cdevsw, unit | VMNET_DEV_MASK, UID_ROOT,
- GID_WHEEL, 0600, "%s%d", tapname, unit);
+ GID_WHEEL, 0600, "%s%d", vmnetname, unit);
}
tapcreate(dev);
OpenPOWER on IntegriCloud