diff --git a/repos/os/include/os/path.h b/repos/os/include/os/path.h index 59038c6e2a..f27b917cb8 100644 --- a/repos/os/include/os/path.h +++ b/repos/os/include/os/path.h @@ -240,7 +240,7 @@ class Genode::Path_base char const *base() const { return _path; } char const *string() const { return _path; } - size_t max_len() { return _path_max_len; } + size_t max_len() const { return _path_max_len; } void remove_trailing(char c) { remove_trailing(c, _path); }