Fix format error in Faccept_process_output
* src/process.c (Faccept_process_output): Do not use format spec "%p", it isn't valid for error().
This commit is contained in:
parent
b38b91a834
commit
1c862297e4
1 changed files with 5 additions and 6 deletions
|
@ -4602,12 +4602,11 @@ is nil, from any process) before the timeout expired. */)
|
||||||
{
|
{
|
||||||
Lisp_Object proc_thread_name = XTHREAD (proc->thread)->name;
|
Lisp_Object proc_thread_name = XTHREAD (proc->thread)->name;
|
||||||
|
|
||||||
if (STRINGP (proc_thread_name))
|
|
||||||
error ("Attempt to accept output from process %s locked to thread %s",
|
error ("Attempt to accept output from process %s locked to thread %s",
|
||||||
SDATA (proc->name), SDATA (proc_thread_name));
|
SDATA (proc->name),
|
||||||
else
|
STRINGP (proc_thread_name)
|
||||||
error ("Attempt to accept output from process %s locked to thread %p",
|
? SDATA (proc_thread_name)
|
||||||
SDATA (proc->name), XTHREAD (proc->thread));
|
: SDATA (Fprin1_to_string (proc->thread, Qt)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue