aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/nat/linux-procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nat/linux-procfs.c b/gdb/nat/linux-procfs.c
index 9c2d1be..95ecae4 100644
--- a/gdb/nat/linux-procfs.c
+++ b/gdb/nat/linux-procfs.c
@@ -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;
}