if (!result.isEmpty()) { struct stat buf; if (::stat(this->m_name.toLocal8Bit().constData(), &buf)) result.clear(); else { result.append("/LCK.%1.%2"); result = result.arg(major(buf.st_rdev)).arg(minor(buf.st_rdev)); } }
...minor(buf.st_rdev)...