Index | Thread | Search

From:
Jan Schreiber <jes@posteo.de>
Subject:
Re: Compile error when using when option ENCDEBUG is used
To:
tech@openbsd.org
Date:
Wed, 06 May 2026 11:25:06 +0000

Download raw body.

Thread
On Wed, 06 May 2026 11:22:18 +0000
Jan Schreiber <jes@posteo.de> wrote:

> Hi,
> 

Sorry, fat finger send.

This adds a missing ')', which is missing from the macro below.

Jan

diff --git sys/netinet/ip_output.c sys/netinet/ip_output.c
index e6fc6fcda6e..04d907230a9 100644
--- sys/netinet/ip_output.c
+++ sys/netinet/ip_output.c
@@ -66,7 +66,7 @@
 #ifdef ENCDEBUG
 #define DPRINTF(fmt, args...)						\
 	do {								\
-		if (atomic_load_int(&encdebug)				\
+		if (atomic_load_int(&encdebug))				\
 			printf("%s: " fmt "\n", __func__, ## args);	\
 	} while (0)
 #else