git: 326613190891 - main - Fix spelling of NO_WINFINITE_RECURSION.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 21 Dec 2022 22:46:28 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=3266131908914b3a359571dae75194fe6d330c1d

commit 3266131908914b3a359571dae75194fe6d330c1d
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-12-21 22:45:29 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-12-21 22:45:29 +0000

    Fix spelling of NO_WINFINITE_RECURSION.
    
    Reported by:    dim
    Fixes:          2e08e4b75ea1 zfs: Fix build with GCC 12.
---
 sys/conf/files           | 2 +-
 sys/conf/kern.mk         | 2 +-
 sys/modules/zfs/Makefile | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/conf/files b/sys/conf/files
index 9e6456519259..29cf7851f561 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -172,7 +172,7 @@ contrib/openzfs/module/lua/lcompat.c		optional zfs compile-with "${ZFS_C}"
 contrib/openzfs/module/lua/lcorolib.c		optional zfs compile-with "${ZFS_C}"
 contrib/openzfs/module/lua/lctype.c			optional zfs compile-with "${ZFS_C}"
 contrib/openzfs/module/lua/ldebug.c			optional zfs compile-with "${ZFS_C}"
-contrib/openzfs/module/lua/ldo.c			optional zfs compile-with "${ZFS_C} ${NO_WINFINTE_RECURSION}"
+contrib/openzfs/module/lua/ldo.c			optional zfs compile-with "${ZFS_C} ${NO_WINFINITE_RECURSION}"
 contrib/openzfs/module/lua/lfunc.c			optional zfs compile-with "${ZFS_C}"
 contrib/openzfs/module/lua/lgc.c			optional zfs compile-with "${ZFS_C}"
 contrib/openzfs/module/lua/llex.c			optional zfs compile-with "${ZFS_C}"
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 682463e8e0d5..c44e5065da70 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -81,7 +81,7 @@ CWARNEXTRA+=	-Wno-address-of-packed-member			\
 CWARNEXTRA+=	-Wno-error=nonnull				\
 		-Wno-dangling-pointer				\
 		-Wno-zero-length-bounds
-NO_WINFINTE_RECURSION=	-Wno-infinite-recursion
+NO_WINFINITE_RECURSION=	-Wno-infinite-recursion
 NO_WSTRINGOP_OVERREAD=	-Wno-stringop-overread
 .endif
 .endif
diff --git a/sys/modules/zfs/Makefile b/sys/modules/zfs/Makefile
index 510d3affb0d7..858f69144954 100644
--- a/sys/modules/zfs/Makefile
+++ b/sys/modules/zfs/Makefile
@@ -348,7 +348,7 @@ CFLAGS.gcc+= -Wno-pointer-to-int-cast
 
 CFLAGS.lapi.c= -Wno-cast-qual
 CFLAGS.lcompat.c= -Wno-cast-qual
-CFLAGS.ldo.c= ${NO_WINFINTE_RECURSION}
+CFLAGS.ldo.c= ${NO_WINFINITE_RECURSION}
 CFLAGS.lobject.c= -Wno-cast-qual
 CFLAGS.ltable.c= -Wno-cast-qual
 CFLAGS.lvm.c= -Wno-cast-qual