Use safe_strerror instead of strerror where possible
[deliverable/binutils-gdb.git] / gdb / windows-nat.c
index fdc21f38bfadd41b069eec60da283763bf7ca7f7..d77828291c5ec87ae3cc29216981ccf52612b872 100644 (file)
@@ -2710,7 +2710,7 @@ windows_nat_target::create_inferior (const char *exec_file,
        redirect_inferior_handles (allargs, allargs_copy,
                                   &fd_inp, &fd_out, &fd_err);
       if (errno)
-       warning (_("Error in redirection: %s."), strerror (errno));
+       warning (_("Error in redirection: %s."), safe_strerror (errno));
       else
        errno = e;
       allargs_len = strlen (allargs_copy);
This page took 0.023861 seconds and 4 git commands to generate.