aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-04-29 08:34:00 +0000
committerKristof Provost <kp@FreeBSD.org>2021-05-10 19:46:06 +0000
commit852b394f6f607f02c3c504de3354731f44ecdc0d (patch)
treecc086ddb2110c135d944e7136f5294fb72dd33b9
parent1574be6bd101cc72f9ba1ce42c78eb3c6de1465f (diff)
downloadsrc-852b394f6f607f02c3c504de3354731f44ecdc0d.tar.gz
src-852b394f6f607f02c3c504de3354731f44ecdc0d.zip
pf: Trivial typo fix
PV -> PF MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit eaabed8ac449dbd9a7f4f567e9378bda4636221e)
-rw-r--r--sys/netpfil/pf/pf_nv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netpfil/pf/pf_nv.c b/sys/netpfil/pf/pf_nv.c
index d88c0b14e435..8a2082d3e0bb 100644
--- a/sys/netpfil/pf/pf_nv.c
+++ b/sys/netpfil/pf/pf_nv.c
@@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$");
#include <netpfil/pf/pf_nv.h>
-#define PV_NV_IMPL_UINT(fnname, type, max) \
+#define PF_NV_IMPL_UINT(fnname, type, max) \
int \
pf_nv ## fnname(const nvlist_t *nvl, const char *name, type *val) \
{ \
@@ -101,9 +101,9 @@ pf_nvbinary(const nvlist_t *nvl, const char *name, void *data,
return (0);
}
-PV_NV_IMPL_UINT(uint8, uint8_t, UINT8_MAX)
-PV_NV_IMPL_UINT(uint16, uint16_t, UINT16_MAX);
-PV_NV_IMPL_UINT(uint32, uint32_t, UINT32_MAX)
+PF_NV_IMPL_UINT(uint8, uint8_t, UINT8_MAX);
+PF_NV_IMPL_UINT(uint16, uint16_t, UINT16_MAX);
+PF_NV_IMPL_UINT(uint32, uint32_t, UINT32_MAX);
int
pf_nvint(const nvlist_t *nvl, const char *name, int *val)