VirtualBox

Changeset 38332 in vbox for trunk


Ignore:
Timestamp:
Aug 5, 2011 3:32:09 PM (13 years ago)
Author:
vboxsync
Message:

Runtime/fileaio-freebsd: Fix error check for aio_error (detected by Bernhard Froehlich)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/freebsd/fileaio-freebsd.cpp

    r37774 r38332  
    417417                    pReqInt = pahReqs[i];
    418418                    rcBSD = aio_error(&pReqInt->AioCB);
    419                     if (rcBSD == EINVAL || rcBSD == EAGAIN)
     419                    if (   rcBSD == -1
     420                        && errno == EINVAL)
    420421                    {
    421422                        /* Was not submitted. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette