VirtualBox

Ignore:
Timestamp:
Dec 17, 2008 9:10:58 AM (16 years ago)
Author:
vboxsync
Message:

vboxmod.c: vboxadd_lock_hgcm_parms must negate the RTErrConvertToErrno result.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/vboxmod.c

    r15613 r15624  
    415415        }
    416416    }
    417     return RTErrConvertToErrno (rc);
     417    return -RTErrConvertToErrno (rc);
    418418}
    419419
     
    459459        unsigned haveParms = 0;
    460460        int rc = 0;
    461    
     461
    462462        pInfo = kmalloc(u32Size, GFP_KERNEL);
    463463        if (pInfo == NULL)
     
    515515        unsigned haveParms = 0;
    516516        int rc = 0;
    517        
     517
    518518        pInfo = kmalloc(u32Size, GFP_KERNEL);
    519519        if (pInfo == NULL)
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