diff --git a/stratosphere/ams_mitm/source/fs_mitm/fs_dir_utils.hpp b/stratosphere/ams_mitm/source/fs_mitm/fs_dir_utils.hpp index 3656c7348..cedc3f1b0 100644 --- a/stratosphere/ams_mitm/source/fs_mitm/fs_dir_utils.hpp +++ b/stratosphere/ams_mitm/source/fs_mitm/fs_dir_utils.hpp @@ -32,7 +32,7 @@ class FsDirUtils { return rc; } - const size_t parent_len = strnlen(work_path.str, sizeof(work_path.str - 1)); + const size_t parent_len = strnlen(work_path.str, sizeof(work_path.str) - 1); /* Read and handle entries. */ while (true) {