mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Fix some extra arguments for string format functions.
This commit is contained in:
parent
04a4693b5b
commit
76eef0fea9
|
@ -61,7 +61,7 @@ maybe_t<int> builtin_pwd(parser_t &parser, io_streams_t &streams, const wchar_t
|
|||
pwd = std::move(*real_pwd);
|
||||
} else {
|
||||
const char *error = std::strerror(errno);
|
||||
streams.err.append_format(L"%ls: realpath failed:", cmd, error);
|
||||
streams.err.append_format(L"%ls: realpath failed: %s", cmd, error);
|
||||
return STATUS_CMD_ERROR;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -221,7 +221,7 @@ int thread_pool_t::perform(void_function_t &&func, bool cant_wait) {
|
|||
|
||||
// Kick off the thread if we decided to do so.
|
||||
if (wakeup_thread) {
|
||||
FLOGF(iothread, L"notifying a thread", this_thread());
|
||||
FLOGF(iothread, L"notifying thread: %p", this_thread());
|
||||
pool.queue_cond.notify_one();
|
||||
}
|
||||
if (spawn_new_thread) {
|
||||
|
|
|
@ -924,7 +924,7 @@ int terminal_maybe_give_to_job_group(const job_group_t *jg, bool continuing_from
|
|||
} else {
|
||||
// Debug the original tcsetpgrp error (not the waitpid errno) to the log, and
|
||||
// then retry until not EPERM or the process group has exited.
|
||||
FLOGF(proc_termowner, L"terminal_give_to_job(): EPERM.\n", pgid);
|
||||
FLOGF(proc_termowner, L"terminal_give_to_job(): EPERM with pgid %d.", pgid);
|
||||
continue;
|
||||
}
|
||||
} else if (errno == ENOTTY) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user