From 94f904449bd2a487ede23dee01db3da8d2624d1e Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 18 Aug 2020 16:02:53 -0700 Subject: [PATCH] fix yanix --- crates/wasi-common/yanix/src/sys/bsd/fadvise.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/wasi-common/yanix/src/sys/bsd/fadvise.rs b/crates/wasi-common/yanix/src/sys/bsd/fadvise.rs index d1fa29d9d9..32d290a973 100644 --- a/crates/wasi-common/yanix/src/sys/bsd/fadvise.rs +++ b/crates/wasi-common/yanix/src/sys/bsd/fadvise.rs @@ -51,7 +51,9 @@ pub unsafe fn posix_fadvise( // is providing a dubiously large hint. This is not confirmed (no helpful info in the man // pages), but offhand, a 2+ GiB advisory read async seems unlikely to help with any kind // of performance, so we log and exit early with a no-op. - log::warn!("`len` too big to fit in the host's command. Returning early with no-op!"); + tracing::warn!( + "`len` too big to fit in the host's command. Returning early with no-op!" + ); return Ok(()); } };