summaryrefslogtreecommitdiff
path: root/udev_config.c
diff options
context:
space:
mode:
authorMarco d'Itri <md@Linux.IT>2005-11-07 18:44:18 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-07 18:44:18 +0100
commitff3e4bed21aaff673284f2e024da26c1e39cfda6 (patch)
tree41d3656f4ec95d0b3d7cc4d510501b7a2529c5b1 /udev_config.c
parentb6d474506f8935084e423f78035ea7206d4c3da0 (diff)
add strerror() to error logs
Diffstat (limited to 'udev_config.c')
-rw-r--r--udev_config.c2
1 files changed, 1 insertions, 1 deletions
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;
}