Skip to content

Commit b03e727

Browse files
committed
Remove unnecessary formatting
1 parent f7cc174 commit b03e727

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/exec.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use crate::env::{EnvMode, EnvStack, Environment, Statuses, READ_BYTE_LIMIT};
1515
use crate::env_dispatch::use_posix_spawn;
1616
use crate::fds::make_fd_blocking;
1717
use crate::fds::{make_autoclose_pipes, open_cloexec, PIPE_ERROR};
18-
use crate::flog::FLOGF;
18+
use crate::flog::{FLOG, FLOGF};
1919
use crate::fork_exec::blocked_signals_for_job;
2020
use crate::fork_exec::postfork::{
2121
child_setup_process, execute_fork, execute_setpgid, report_setpgid_error,
@@ -137,7 +137,7 @@ pub fn exec_job(parser: &Parser, job: &Job, block_io: IoChain) -> bool {
137137
std::mem::swap(&mut proc_pipes.read, &mut pipe_next_read);
138138
if !p.is_last_in_job {
139139
let Ok(pipes) = make_autoclose_pipes() else {
140-
FLOGF!(warning, "%ls", wgettext!(PIPE_ERROR));
140+
FLOG!(warning, wgettext!(PIPE_ERROR));
141141
aborted_pipeline = true;
142142
abort_pipeline_from(job, i);
143143
break;
@@ -1002,9 +1002,8 @@ fn get_performer_for_process(
10021002
} else {
10031003
assert!(p.typ == ProcessType::function);
10041004
let Some(props) = function::get_props(p.argv0().unwrap()) else {
1005-
FLOGF!(
1005+
FLOG!(
10061006
error,
1007-
"%ls",
10081007
wgettext_fmt!("Unknown function '%ls'", p.argv0().unwrap())
10091008
);
10101009
return None;

0 commit comments

Comments
 (0)