Changeset 8188 in vbox for trunk/src/VBox/Additions/freebsd/vboxvfs
- Timestamp:
- Apr 19, 2008 8:27:39 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 29904
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c
r8155 r8188 71 71 MODULE_DEPEND(vboxvfs, vboxguest, 1, 1, 1); 72 72 73 static int 74 vboxvfs_cmount(struct mntarg *ma, void * data, int flags, struct thread *td) 73 static int vboxvfs_cmount(struct mntarg *ma, void * data, int flags, struct thread *td) 75 74 { 76 75 struct vboxvfs_mount_info args; … … 213 212 } 214 213 215 static int vboxvfs_quotactl(mp, cmd, uid, arg, td) 216 struct mount *mp; 217 int cmd; 218 uid_t uid; 219 void *arg; 220 struct thread *td; 214 static int vboxvfs_quotactl(struct mount *mp, int cmd, uid_t uid, void *arg, struct thread *td) 221 215 { 222 216 return EOPNOTSUPP; … … 230 224 rc = vboxInit(); 231 225 if (VBOX_FAILURE(rc)) 232 226 return ENXIO; 233 227 234 228 /* Connect to the host service. */ … … 236 230 if (VBOX_FAILURE(rc)) 237 231 { 238 239 240 232 printf("Failed to get connection to host! rc=%d\n", rc); 233 vboxUninit(); 234 return ENXIO; 241 235 } 242 236 … … 245 239 { 246 240 printf("vboxCallSetUtf8 failed, rc=%d\n", rc); 247 248 249 241 vboxDisconnect(&g_vboxSFClient); 242 vboxUninit(); 243 return EPROTO; 250 244 } 251 245
Note:
See TracChangeset
for help on using the changeset viewer.