From 73084fa85ffdf454d0a1348d17a6e772c22e7b28 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Fri, 9 Dec 2022 18:02:29 +0100 Subject: sysutils/pftop: Fix build with clang 15 PR: 268209 --- sysutils/pftop/files/extra-patch-pftop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysutils/pftop/files/extra-patch-pftop.c') diff --git a/sysutils/pftop/files/extra-patch-pftop.c b/sysutils/pftop/files/extra-patch-pftop.c index 0ce7c8ffd2b4..e22198745b33 100644 --- a/sysutils/pftop/files/extra-patch-pftop.c +++ b/sysutils/pftop/files/extra-patch-pftop.c @@ -343,7 +343,7 @@ $OpenBSD: patch-pftop_c,v 1.12 2009/12/02 21:16:10 sthen Exp $ #endif #ifdef HAVE_RULE_STATES +#ifdef HAVE_PFSYNC_KEY -+ print_fld_size(FLD_STATS, pr->states_tot); ++ print_fld_size(FLD_STATS, *pr->states_tot); +#else print_fld_size(FLD_STATS, pr->states); #endif -- cgit v1.2.3