gcov: Use xstrerror()
libgcc/ * libgcov-util.c (ftw_read_file): Improve notice using xstrerror(). (gcov_profile_merge_stream): Likewise.
This commit is contained in:
parent
210e32b60b
commit
92475ea84f
1 changed files with 2 additions and 2 deletions
|
@ -405,7 +405,7 @@ ftw_read_file (const char *filename,
|
|||
|
||||
if (!gcov_open (filename, 1))
|
||||
{
|
||||
fnotice (stderr, "%s:cannot open\n", filename);
|
||||
fnotice (stderr, "%s:cannot open:%s\n", filename, xstrerror (errno));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -819,7 +819,7 @@ gcov_profile_merge_stream (const char *filename, int w1, int w2)
|
|||
|
||||
if (!gcov_open (filename, 1))
|
||||
{
|
||||
fnotice (stderr, "%s:cannot open\n", filename);
|
||||
fnotice (stderr, "%s:cannot open:%s\n", filename, xstrerror (errno));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue