summaryrefslogtreecommitdiff
path: root/udev_utils.c
diff options
context:
space:
mode:
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;
}