- Timestamp:
- Jul 21, 2011 5:14:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/SharedFolders/vboxfs_prov.c
r38105 r38107 84 84 if (version != SFPROV_VERSION) 85 85 { 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); 87 87 return NULL; 88 88 } … … 99 99 } 100 100 else 101 cmn_err(CE_WARN, "sfprov_connect: vboxCallSetUtf8() failed ");101 cmn_err(CE_WARN, "sfprov_connect: vboxCallSetUtf8() failed\n"); 102 102 103 103 vboxDisconnect(&vbox_client); 104 104 } 105 105 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); 107 107 vboxUninit(); 108 108 } 109 109 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); 111 111 } 112 112 … … 115 115 { 116 116 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"); 118 118 vboxDisconnect(&vbox_client); 119 119 vboxUninit(); … … 629 629 630 630 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", 632 632 path, rc); 633 633 err = EINVAL; … … 687 687 if (rc != VERR_ACCESS_DENIED && rc != VERR_WRITE_PROTECT) 688 688 { 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", 690 690 path, rc); 691 691 } … … 699 699 rc = vboxCallClose(&vbox_client, &mnt->map, parms.Handle); 700 700 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", 702 702 path, rc); 703 703 } … … 727 727 728 728 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", 730 730 path, rc); 731 731 err = EINVAL; … … 743 743 (SHFL_INFO_SET | SHFL_INFO_SIZE), &bytes, (SHFLDIRINFO *)&info); 744 744 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", 746 746 path, rc); 747 747 err = sfprov_vbox2errno(rc); … … 754 754 rc = vboxCallClose(&vbox_client, &mnt->map, parms.Handle); 755 755 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", 757 757 path, rc); 758 758 }
Note:
See TracChangeset
for help on using the changeset viewer.