diff options
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 576bc74669f..f18ecfe5664 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1592,9 +1592,9 @@ collect_execute (prog, argv, redir) { unlink (redir); if (freopen (redir, "a", stdout) == NULL) - fatal_perror ("redirecting stdout"); + fatal_perror ("redirecting stdout: %s", redir); if (freopen (redir, "a", stderr) == NULL) - fatal_perror ("redirecting stderr"); + fatal_perror ("redirecting stderr: %s", redir); } execvp (argv[0], argv); |