aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-04-29 08:34:00 +0000
committerKristof Provost <kp@FreeBSD.org>2021-04-29 13:25:07 +0000
commiteaabed8ac449dbd9a7f4f567e9378bda4636221e (patch)
tree13c0ca1ee180847d9508312de2c45500e3dae2b1
parentac099daf6742ead81ea7ea86351a8ef4e783041b (diff)
downloadsrc-eaabed8ac449dbd9a7f4f567e9378bda4636221e.tar.gz
src-eaabed8ac449dbd9a7f4f567e9378bda4636221e.zip
pf: Trivial typo fix
PV -> PF MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate")
-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)