summaryrefslogtreecommitdiff
path: root/tools/inspect/path_name_check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/inspect/path_name_check.cpp')
-rw-r--r--tools/inspect/path_name_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/inspect/path_name_check.cpp b/tools/inspect/path_name_check.cpp
index 87bc6842c..0714e20c0 100644
--- a/tools/inspect/path_name_check.cpp
+++ b/tools/inspect/path_name_check.cpp
@@ -82,7 +82,7 @@ namespace boost
//}
// the path, including a presumed root, does not exceed the maximum size
- path const relative_path( relative_to( full_path, filesystem::initial_path() ) );
+ path const relative_path( relative_to( full_path, search_root_path() ) );
const unsigned max_relative_path = 207; // ISO 9660:1999 sets this limit
const string generic_root( "boost_X_XX_X/" );
if ( relative_path.string().size() >