X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftypes_list.c;h=ed832fee0baf7721a1de9ab5610741d283882332;hb=351026b0595385ca5376211c1af965bf2d4731b9;hp=7600c346ecc1e8c901460a029c2ead4c167e5576;hpb=92445ff3363441d0f515de4a3ab92a504cfc0366;p=collectd.git diff --git a/src/types_list.c b/src/types_list.c index 7600c346..ed832fee 100644 --- 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]; - 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); }