aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/linux-namespaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nat/linux-namespaces.c')
-rw-r--r--gdb/nat/linux-namespaces.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/nat/linux-namespaces.c b/gdb/nat/linux-namespaces.c
index 94b247c..0ac51cb 100644
--- a/gdb/nat/linux-namespaces.c
+++ b/gdb/nat/linux-namespaces.c
@@ -734,8 +734,7 @@ mnsh_maybe_mourn_peer (void)
if (errno == ECHILD)
warning (_("mount namespace helper vanished?"));
else
- internal_warning (__FILE__, __LINE__,
- _("unhandled error %d"), errno);
+ internal_warning (_("unhandled error %d"), errno);
}
else if (pid == helper->pid)
{
@@ -746,12 +745,10 @@ mnsh_maybe_mourn_peer (void)
warning (_("mount namespace helper killed by signal %d"),
WTERMSIG (status));
else
- internal_warning (__FILE__, __LINE__,
- _("unhandled status %d"), status);
+ internal_warning (_("unhandled status %d"), status);
}
else
- internal_warning (__FILE__, __LINE__,
- _("unknown pid %d"), pid);
+ internal_warning (_("unknown pid %d"), pid);
/* Something unrecoverable happened. */
helper->pid = -1;