VirtualBox

Changeset 38107 in vbox for trunk/src


Ignore:
Timestamp:
Jul 21, 2011 5:14:28 PM (14 years ago)
Author:
vboxsync
Message:

Additions/solaris/SharedFolders: cmn_err consistency.

File:
1 edited

Legend:

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

    r38105 r38107  
    8484        if (version != SFPROV_VERSION)
    8585        {
    86                 cmn_err(CE_WARN, "sfprov_connect: wrong version. version=%d expected=%d", version, SFPROV_VERSION);
     86                cmn_err(CE_WARN, "sfprov_connect: wrong version. version=%d expected=%d\n", version, SFPROV_VERSION);
    8787                return NULL;
    8888        }
     
    9999                        }
    100100                        else
    101                                 cmn_err(CE_WARN, "sfprov_connect: vboxCallSetUtf8() failed");
     101                                cmn_err(CE_WARN, "sfprov_connect: vboxCallSetUtf8() failed\n");
    102102
    103103                        vboxDisconnect(&vbox_client);
    104104                }
    105105                else
    106                         cmn_err(CE_WARN, "sfprov_connect: vboxConnect() failed rc=%d", rc);
     106                        cmn_err(CE_WARN, "sfprov_connect: vboxConnect() failed rc=%d\n", rc);
    107107                vboxUninit();
    108108        }
    109109        else
    110                 cmn_err(CE_WARN, "sfprov_connect: vboxInit() failed rc=%d", rc);
     110                cmn_err(CE_WARN, "sfprov_connect: vboxInit() failed rc=%d\n", rc);
    111111}
    112112
     
    115115{
    116116        if (conn != (sfp_connection_t *)&vbox_client)
    117                 cmn_err(CE_WARN, "sfprov_disconnect: bad argument");
     117                cmn_err(CE_WARN, "sfprov_disconnect: bad argument\n");
    118118        vboxDisconnect(&vbox_client);
    119119        vboxUninit();
     
    629629
    630630        if (RT_FAILURE(rc)) {
    631                 cmn_err(CE_WARN, "sfprov_set_attr: vboxCallCreate(%s) failed rc=%d",
     631                cmn_err(CE_WARN, "sfprov_set_attr: vboxCallCreate(%s) failed rc=%d\n",
    632632                    path, rc);
    633633                err = EINVAL;
     
    687687                if (rc != VERR_ACCESS_DENIED && rc != VERR_WRITE_PROTECT)
    688688                {
    689                         cmn_err(CE_WARN, "sfprov_set_attr: vboxCallFSInfo(%s, FILE) failed rc=%d",
     689                        cmn_err(CE_WARN, "sfprov_set_attr: vboxCallFSInfo(%s, FILE) failed rc=%d\n",
    690690                    path, rc);
    691691                }
     
    699699        rc = vboxCallClose(&vbox_client, &mnt->map, parms.Handle);
    700700        if (RT_FAILURE(rc)) {
    701                 cmn_err(CE_WARN, "sfprov_set_attr: vboxCallClose(%s) failed rc=%d",
     701                cmn_err(CE_WARN, "sfprov_set_attr: vboxCallClose(%s) failed rc=%d\n",
    702702                    path, rc);
    703703        }
     
    727727
    728728        if (RT_FAILURE(rc)) {
    729                 cmn_err(CE_WARN, "sfprov_set_size: vboxCallCreate(%s) failed rc=%d",
     729                cmn_err(CE_WARN, "sfprov_set_size: vboxCallCreate(%s) failed rc=%d\n",
    730730                    path, rc);
    731731                err = EINVAL;
     
    743743            (SHFL_INFO_SET | SHFL_INFO_SIZE), &bytes, (SHFLDIRINFO *)&info);
    744744        if (RT_FAILURE(rc)) {
    745                 cmn_err(CE_WARN, "sfprov_set_size: vboxCallFSInfo(%s, SIZE) failed rc=%d",
     745                cmn_err(CE_WARN, "sfprov_set_size: vboxCallFSInfo(%s, SIZE) failed rc=%d\n",
    746746                    path, rc);
    747747                err = sfprov_vbox2errno(rc);
     
    754754        rc = vboxCallClose(&vbox_client, &mnt->map, parms.Handle);
    755755        if (RT_FAILURE(rc)) {
    756                 cmn_err(CE_WARN, "sfprov_set_size: vboxCallClose(%s) failed rc=%d",
     756                cmn_err(CE_WARN, "sfprov_set_size: vboxCallClose(%s) failed rc=%d\n",
    757757                    path, rc);
    758758        }
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