X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev_utils.c;h=581ba9e80afb0972a31b38107e216883b95fb97b;hp=683378aadf25efffa9a93b5cc3794b8641423ec4;hb=ca93c2c6c4daee82c45c15dd321a38357d26586e;hpb=2a4ce7092546039063fcf5aaa36760a89d8c9047 diff --git a/udev_utils.c b/udev_utils.c index 683378aad..581ba9e80 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); + err("unable to open '%s': %s", dirname, strerror(errno)); return -1; }