summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-05-28 05:25:26 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-05-28 05:25:53 +0200
commitfb45ced36802b98c24a8238d68bb86be7fa393e4 (patch)
tree85d5e4a827289c8e3db22882510b5134626d5b81
parenthwdb: Lenovo IdeaPad Z500 Touchpad Toggle (#33039) (diff)
downloadsystemd-fb45ced36802b98c24a8238d68bb86be7fa393e4.tar.xz
systemd-fb45ced36802b98c24a8238d68bb86be7fa393e4.zip
missing_loop: fix potential compile-time assertion
Fixes a bug introduced by 4d6437d33c45c3d31497f2e3bd8d415f775546b8.
-rw-r--r--src/basic/missing_loop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/missing_loop.h b/src/basic/missing_loop.h
index c29082f519..8a62155a5d 100644
--- a/src/basic/missing_loop.h
+++ b/src/basic/missing_loop.h
@@ -23,7 +23,7 @@ assert_cc(LOOP_CONFIGURE == 0x4C0A);
# define LOOP_SET_DIRECT_IO 0x4C08
#else
assert_cc(LO_FLAGS_DIRECT_IO == 16);
-assert_cc(LO_FLAGS_DIRECT_IO == 0x4C08);
+assert_cc(LOOP_SET_DIRECT_IO == 0x4C08);
#endif
#ifndef LOOP_SET_STATUS_SETTABLE_FLAGS