diff options
Diffstat (limited to 'discover/resource.c')
-rw-r--r-- | discover/resource.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/resource.c b/discover/resource.c index b31a215..b4fa9ca 100644 --- a/discover/resource.c +++ b/discover/resource.c @@ -6,6 +6,7 @@ #include <string.h> #include <url/url.h> +#include <log/log.h> #include <talloc/talloc.h> #include "device-handler.h" @@ -82,6 +83,8 @@ struct resource *create_devpath_resource(struct discover_boot_option *opt, devstr = talloc_strndup(res, devpath, pos - devpath); path = talloc_strdup(res, pos + 1); + pb_log("%s: resource depends on device %s\n", __func__, devstr); + /* defer resolution until we can find a suitable matching device */ info = talloc(res, struct devpath_resource_info); info->dev = devstr; |