Index | Thread | Search

From:
Jonathan Gray <jsg@jsg.id.au>
Subject:
Re: Compile error when using when option ENCDEBUG is used
To:
Jan Schreiber <jes@posteo.de>
Cc:
tech@openbsd.org
Date:
Wed, 6 May 2026 21:37:05 +1000

Download raw body.

Thread
On Wed, May 06, 2026 at 11:25:06AM +0000, Jan Schreiber wrote:
> 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.

thanks, committed

> 
> 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
> 
>