aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2023-05-09 08:52:11 +0000
committerAlex <alex@adnab.me>2023-05-09 08:52:11 +0000
commit14c50f2f84b5e4b3036e2c8c959f335e32146bfd (patch)
treeb2d0d0d3581a8361da54b662bd52889e8bdc974a
parent0fab9c3b8c02399eecd3217505ef763cdb7c6108 (diff)
parent6d3ace1ea9561386bb89b0a3e66b881e8e7be5e4 (diff)
downloadgarage-14c50f2f84b5e4b3036e2c8c959f335e32146bfd.tar.gz
garage-14c50f2f84b5e4b3036e2c8c959f335e32146bfd.zip
Merge pull request 'Fix undefined macro warn! on 32-bit' (#562) from jirutka/garage:fix-undefined-warn into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/562
-rw-r--r--src/db/lmdb_adapter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/lmdb_adapter.rs b/src/db/lmdb_adapter.rs
index 31956612..ecbc3b81 100644
--- a/src/db/lmdb_adapter.rs
+++ b/src/db/lmdb_adapter.rs
@@ -349,6 +349,6 @@ pub fn recommended_map_size() -> usize {
#[cfg(target_pointer_width = "32")]
pub fn recommended_map_size() -> usize {
- warn!("LMDB is not recommended on 32-bit systems, database size will be limited");
+ tracing::warn!("LMDB is not recommended on 32-bit systems, database size will be limited");
1usize << 30
}