Fix gdb_qemu after spurious find-replace (#3223)

This commit is contained in:
WorksButNotTested 2025-05-14 11:40:18 +01:00 committed by GitHub
parent b138c528ec
commit 23185b642b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ use std::{
use anyhow::{anyhow, Result}; use anyhow::{anyhow, Result};
use nix::unistd::{dup2, execvp}; use nix::unistd::{dup2, execvp};
use crate::{args::StdChildArgs, exit::Exit}; use crate::{args::ChildArgs, exit::Exit};
pub struct Child { pub struct Child {
argv: Vec<String>, argv: Vec<String>,
@ -47,7 +47,7 @@ impl Child {
Ok(()) Ok(())
} }
pub fn new(args: &impl StdChildArgs, fd1: RawFd, fd2: RawFd) -> Child { pub fn new(args: &impl ChildArgs, fd1: RawFd, fd2: RawFd) -> Child {
Child { Child {
argv: args.argv().to_vec(), argv: args.argv().to_vec(),
fd1, fd1,