Use safe_strerror instead of strerror where possible
[deliverable/binutils-gdb.git] / gdb / linux-nat.c
index bc397961c82d05787cfb9a4aea47e685cf6c7550..2a63ac727d3fe7ef5568709b2305c36067bfab0d 100644 (file)
@@ -1420,7 +1420,7 @@ detach_one_lwp (struct lwp_info *lp, int *signo_p)
          if (ret == -1)
            {
              warning (_("Couldn't reap LWP %d while detaching: %s"),
-                      lwpid, strerror (errno));
+                      lwpid, safe_strerror (errno));
            }
          else if (!WIFEXITED (status) && !WIFSIGNALED (status))
            {
This page took 0.024221 seconds and 4 git commands to generate.