summaryrefslogtreecommitdiffstats
path: root/discover/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/parser.c')
-rw-r--r--discover/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/parser.c b/discover/parser.c
index 8e767c6..fbf31b2 100644
--- a/discover/parser.c
+++ b/discover/parser.c
@@ -25,7 +25,7 @@ static char *local_path(struct discover_context *ctx,
struct discover_device *dev,
const char *filename)
{
- return join_paths(ctx, dev->mount_path, filename);
+ return join_paths(ctx, dev->root_path, filename);
}
int parser_request_file(struct discover_context *ctx,
OpenPOWER on IntegriCloud