From 6d729194a936f6befdfe257871038fd226f951d1 Mon Sep 17 00:00:00 2001 From: Rain Date: Mon, 27 Nov 2023 16:17:05 -0800 Subject: [PATCH] more fixes --- oximeter/instruments/src/kstat/link.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oximeter/instruments/src/kstat/link.rs b/oximeter/instruments/src/kstat/link.rs index d22ac60378..03397c4108 100644 --- a/oximeter/instruments/src/kstat/link.rs +++ b/oximeter/instruments/src/kstat/link.rs @@ -268,8 +268,8 @@ mod tests { } impl TestEtherstub { - const PFEXEC: &str = "/usr/bin/pfexec"; - const DLADM: &str = "/usr/sbin/dladm"; + const PFEXEC: &'static str = "/usr/bin/pfexec"; + const DLADM: &'static str = "/usr/sbin/dladm"; fn new() -> Self { let name = format!( "kstest{}0",