QFileSystemEngine: Fix typo
Change-Id: I538ef771dcf6b757025c8d31f13a91222c2ebd3e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
7d02fb3045
commit
808758ad14
@ -805,11 +805,11 @@ QByteArray QFileSystemEngine::id(const QFileSystemEntry &entry)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//static
|
//static
|
||||||
QByteArray QFileSystemEngine::id(int id)
|
QByteArray QFileSystemEngine::id(int fd)
|
||||||
{
|
{
|
||||||
QT_STATBUF statResult;
|
QT_STATBUF statResult;
|
||||||
if (QT_FSTAT(id, &statResult)) {
|
if (QT_FSTAT(fd, &statResult)) {
|
||||||
qErrnoWarning("fstat() failed for fd %d", id);
|
qErrnoWarning("fstat() failed for fd %d", fd);
|
||||||
return QByteArray();
|
return QByteArray();
|
||||||
}
|
}
|
||||||
QByteArray result = QByteArray::number(quint64(statResult.st_dev), 16);
|
QByteArray result = QByteArray::number(quint64(statResult.st_dev), 16);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user