summaryrefslogtreecommitdiff
path: root/udev_utils.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_utils.c
parentb6d474506f8935084e423f78035ea7206d4c3da0 (diff)
add strerror() to error logs
Diffstat (limited to 'udev_utils.c')
-rw-r--r--udev_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_utils.c b/udev_utils.c
index 683378aadf..04258a39c2 100644
--- a/udev_utils.c
+++ b/udev_utils.c
@@ -139,7 +139,7 @@ int add_matching_files(struct list_head *name_list, const char *dirname, const c
dbg("open directory '%s'", dirname);
dir = opendir(dirname);
if (dir == NULL) {
- dbg("unable to open '%s'", dirname);
+ dbg("unable to open '%s': %s", dirname, strerror(errno));
return -1;
}