git: 852b394f6f60 - stable/12 - pf: Trivial typo fix
Kristof Provost
kp at FreeBSD.org
Mon May 10 19:49:56 UTC 2021
The branch stable/12 has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=852b394f6f607f02c3c504de3354731f44ecdc0d
commit 852b394f6f607f02c3c504de3354731f44ecdc0d
Author: Kristof Provost <kp at FreeBSD.org>
AuthorDate: 2021-04-29 08:34:00 +0000
Commit: Kristof Provost <kp at FreeBSD.org>
CommitDate: 2021-05-10 19:46:06 +0000
pf: Trivial typo fix
PV -> PF
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit eaabed8ac449dbd9a7f4f567e9378bda4636221e)
---
sys/netpfil/pf/pf_nv.c | 8 ++++----
1 file 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)
More information about the dev-commits-src-all
mailing list