projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.in: Check for libpq for function `PQserverVersion'.
[collectd.git]
/
src
/
types_list.c
diff --git
a/src/types_list.c
b/src/types_list.c
index
7600c34
..
ed832fe
100644
(file)
--- a/
src/types_list.c
+++ b/
src/types_list.c
@@
-172,7
+172,9
@@
int read_types_list (const char *file)
if (fh == NULL)
{
char errbuf[1024];
if (fh == NULL)
{
char errbuf[1024];
- ERROR ("open (%s) failed: %s",
+ fprintf (stderr, "Failed to open types database `%s': %s.\n",
+ file, sstrerror (errno, errbuf, sizeof (errbuf)));
+ ERROR ("Failed to open types database `%s': %s",
file, sstrerror (errno, errbuf, sizeof (errbuf)));
return (-1);
}
file, sstrerror (errno, errbuf, sizeof (errbuf)));
return (-1);
}