diff options
Diffstat (limited to 'ripple/minitrace')
-rw-r--r-- | ripple/minitrace/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index b8d6eee..f015bf9 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -2,7 +2,7 @@ // SPDX-License-Identifier: OSL-3.0 use { - anyhow::{bail, Context}, + anyhow::{bail, Context, Result}, nix::{ libc, sys::{ @@ -42,7 +42,7 @@ struct Process { } impl Process { - fn spawn(cmd: &mut Command) -> anyhow::Result<Process> { + fn spawn(cmd: &mut Command) -> Result<Process> { unsafe { cmd.pre_exec(|| { // disable ASLR @@ -93,7 +93,7 @@ enum EntryExit { Exit(SyscallEntry, i64), } -fn main() -> anyhow::Result<()> { +fn main() -> Result<()> { let process = Process::spawn(&mut { let mut args = env::args(); |