Fix typo m_pathname->pathname