Bug 747545: Uevent Poller causes compile error when built debug due to ScopedClose member change - r=mwu a=b2g-only

This commit is contained in:
Kyle Machulis 2012-04-20 18:43:25 -07:00
parent 365c525d3f
commit 8d6a060fd5

View File

@ -140,7 +140,7 @@ class UeventInitTask : public Task
void
NetlinkPoller::OnFileCanReadWithoutBlocking(int fd)
{
MOZ_ASSERT(fd == mSocket.mFd);
MOZ_ASSERT(fd == mSocket.get());
while (true) {
int ret = read(fd, mBuffer, kBuffsize);
if (ret == -1) {