summaryrefslogtreecommitdiff
path: root/udev_libc_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_libc_wrapper.c')
-rw-r--r--udev_libc_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_libc_wrapper.c b/udev_libc_wrapper.c
index 4e9f9f1fe8..a7a8c5342d 100644
--- a/udev_libc_wrapper.c
+++ b/udev_libc_wrapper.c
@@ -144,7 +144,7 @@ static unsigned long get_id_by_name(const char *uname, const char *dbfile)
char *tail;
if (file_map(dbfile, &buf, &bufsize) != 0) {
- dbg("can't open '%s' as db file", dbfile);
+ dbg("can't open '%s' as db file: %s", dbfile, strerror(errno));
return 0;
}
dbg("search '%s' in '%s'", uname, dbfile);