From ff3e4bed21aaff673284f2e024da26c1e39cfda6 Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Mon, 7 Nov 2005 18:44:18 +0100 Subject: add strerror() to error logs --- udev_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udev_config.c') diff --git a/udev_config.c b/udev_config.c index b8c4ffc8ed..192a0b80d2 100644 --- a/udev_config.c +++ b/udev_config.c @@ -107,7 +107,7 @@ static int parse_config_file(void) int retval = 0; if (file_map(udev_config_filename, &buf, &bufsize) != 0) { - err("can't open '%s' as config file", udev_config_filename); + err("can't open '%s' as config file: %s", udev_config_filename, strerror(errno)); return -ENODEV; } -- cgit v1.2.3-54-g00ecf