VirtualBox

Ticket #9830: patch-fileaio-posix.cpp.diff

File patch-fileaio-posix.cpp.diff, 1.3 KB (added by royliu, 13 years ago)

The patch.

  • src/VBox/Runtime/r3/posix/fileaio-posix.cpp

    old new  
    307307                         &cReqsOutstandingMax,  /* Where to store the old value. */
    308308                         &cbParameter,          /* Size of the memory pointed to. */
    309309                         NULL,                  /* Where the new value is located. */
    310                          NULL);                 /* Where the size of the new value is stored. */
     310                         0);                    /* Where the size of the new value is stored. */
    311311    if (rcBSD == -1)
    312312        return RTErrConvertFromErrno(errno);
    313313
     
    326326                         &cReqsOutstandingMax,       /* Where to store the old value. */
    327327                         &cbParameter,               /* Size of the memory pointed to. */
    328328                         NULL,                       /* Where the new value is located. */
    329                          NULL);                      /* Where the size of the new value is stored. */
     329                         0);                         /* Where the size of the new value is stored. */
    330330    if (rcBSD == -1)
    331331    {
    332332        /* ENOENT means the value is unknown thus the module is not loaded. */

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