VirtualBox

Changeset 38843 in vbox


Ignore:
Timestamp:
Sep 23, 2011 12:22:49 PM (13 years ago)
Author:
vboxsync
Message:

Additions/solaris/SharedFolders: use RT_FAILURE instead of negating RT_SUCCESS for failure checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/SharedFolders/vboxfs_prov.c

    r38801 r38843  
    140140        str = sfprov_string(path, &size);
    141141        rc = vboxCallMapFolder(&vbox_client, str, &m->map);
    142         if (!RT_SUCCESS(rc)) {
     142        if (RT_FAILURE(rc)) {
    143143                cmn_err(CE_WARN, "sfprov_mount: vboxCallMapFolder() failed rc=%d\n", rc);
    144144                kmem_free(m, sizeof (*m));
     
    159159
    160160        rc = vboxCallUnmapFolder(&vbox_client, &mnt->map);
    161         if (!RT_SUCCESS(rc)) {
     161        if (RT_FAILURE(rc)) {
    162162                cmn_err(CE_WARN, "sfprov_mount: vboxCallUnmapFolder() failed rc=%d\n", rc);
    163163                rc = EINVAL;
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