Fix for thiserror 2.0.
Test: atest mmd_unit_tests
Change-Id: I848b89f2ac9028bc7f89acf2d66e7332cf539677
diff --git a/src/zram/setup.rs b/src/zram/setup.rs
index 79052cc..64756ea 100644
--- a/src/zram/setup.rs
+++ b/src/zram/setup.rs
@@ -89,8 +89,7 @@
EmptyZramSizeSpec,
/// Zram size percentage needs to be between 1 and 500%
#[error(
- "zram size percentage {0} is out of range (expected the between 1 and {})",
- MAX_ZRAM_PERCENTAGE_ALLOWED
+ "zram size percentage {0} is out of range (expected the between 1 and {MAX_ZRAM_PERCENTAGE_ALLOWED})"
)]
ZramPercentageOutOfRange(u64),
/// Parsing zram size error