]> git.ipfire.org Git - thirdparty/systemd.git/commit
bootctl: avoid using __WORDSIZE macro
authorMike Gilbert <floppym@gentoo.org>
Tue, 14 Feb 2023 19:46:25 +0000 (14:46 -0500)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Feb 2023 01:24:25 +0000 (10:24 +0900)
commit7cd137e6478746eb02a516cef85ade0da618b017
tree051cef70a11cbb154b4871f6ae2dcf4c2b644b8a
parentf0353cf2e93a2b39add8027608494ee53a89cfae
bootctl: avoid using __WORDSIZE macro

__WORDSIZE does not seem to be documented anywhere, and is probably
meant to be used internally by glibc headers.

In systemd, it was only being used in warning messages. We can avoid
using it by rewording the messages slightly.

Fixes a build error with musl libc.

Bug: https://bugs.gentoo.org/894430
src/boot/bootctl-util.c