mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
Minor cleanup in linux_proc_attach_tgid_threads
linux_proc_attach_tgid_threads computes a file name, and then re-computes it for a warning. It is better to reuse the already-computed name here. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
parent
9d8fc40eb0
commit
31141b5520
@ -287,7 +287,7 @@ linux_proc_attach_tgid_threads (pid_t pid,
|
||||
dir = opendir (pathname);
|
||||
if (dir == NULL)
|
||||
{
|
||||
warning (_("Could not open /proc/%ld/task."), (long) pid);
|
||||
warning (_("Could not open %s."), pathname);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user