QFileSystemEngine: Fix typo

Change-Id: I538ef771dcf6b757025c8d31f13a91222c2ebd3e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Orgad Shaneh 2019-04-04 22:58:29 +03:00 committed by Orgad Shaneh
parent 7d02fb3045
commit 808758ad14

View File

@ -805,11 +805,11 @@ QByteArray QFileSystemEngine::id(const QFileSystemEntry &entry)
}
//static
QByteArray QFileSystemEngine::id(int id)
QByteArray QFileSystemEngine::id(int fd)
{
QT_STATBUF statResult;
if (QT_FSTAT(id, &statResult)) {
qErrnoWarning("fstat() failed for fd %d", id);
if (QT_FSTAT(fd, &statResult)) {
qErrnoWarning("fstat() failed for fd %d", fd);
return QByteArray();
}
QByteArray result = QByteArray::number(quint64(statResult.st_dev), 16);