summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-06-16 13:17:19 +1000
committerChris Johns <chrisj@rtems.org>2015-06-16 13:17:19 +1000
commit50500b5e973a7287e19cac2c260f143ed1a04ead (patch)
treef2232adae663eb1c8c40b4e36490090582983816
parentb5aca585949aa94d8d254ab4c4e5b4b2f7b1f1d9 (diff)
downloadrtems-libbsd-50500b5e973a7287e19cac2c260f143ed1a04ead.tar.bz2
The BPF dev node needs a minor number for tcpdump.
-rw-r--r--freebsd/sys/net/bpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/sys/net/bpf.c b/freebsd/sys/net/bpf.c
index 7a4eaf9f..1f9430b2 100644
--- a/freebsd/sys/net/bpf.c
+++ b/freebsd/sys/net/bpf.c
@@ -3005,7 +3005,7 @@ bpf_drvinit(void *unused)
/* For compatibility */
make_dev_alias(dev, "bpf0");
#else /* __rtems__ */
- rv = IMFS_make_generic_node("/dev/bpf", mode, &bpf_imfs_control, NULL);
+ rv = IMFS_make_generic_node("/dev/bpf0", mode, &bpf_imfs_control, NULL);
BSD_ASSERT(rv == 0);
#endif /* __rtems__ */