[PATCH] macros: fix assert message typo
Dmitry V. Levin
ldv at strace.io
Wed Jun 17 10:19:47 UTC 2026
On Wed, Jun 17, 2026 at 06:50:43AM +0300, Baruch Siach wrote:
> Fix enabled -> enable.
> ---
> src/macros.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/macros.h b/src/macros.h
> index cb290c612fa7..973277485c66 100644
> --- a/src/macros.h
> +++ b/src/macros.h
> @@ -140,7 +140,7 @@ is_filled(const char *ptr, char fill, size_t size)
> # define CHECK_TYPE_SIZE(type_, sz_) \
> static_assert(sizeof(type_) == (sz_), \
> "Unexpected size of " #type_ " (" #sz_ " expected). " \
> - "--enabled-bundled=yes configure option may be used " \
> + "--enable-bundled=yes configure option may be used " \
> "to work around that.") \
> /* End of CHECK_TYPE_SIZE */
>
> @@ -148,7 +148,7 @@ is_filled(const char *ptr, char fill, size_t size)
> # define CHECK_IOCTL_SIZE(ioc_, sz_) \
> static_assert(_IOC_SIZE(ioc_) == (sz_), \
> "Unexpected size field value in " #ioc_ \
> - " (" #sz_" expected). --enabled-bundled=yes configure " \
> + " (" #sz_" expected). --enable-bundled=yes configure " \
> "option may be used to work around that.") \
> /* End of CHECK_IOCTL_SIZE */
>
Applied, thanks.
--
ldv
More information about the Strace-devel
mailing list