- Timestamp:
- Aug 27, 2007 1:21:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/regops.c
r4112 r4384 261 261 /* XXX: here i probably should check rc and convert some values to 262 262 EEXISTS ENOENT etc */ 263 if (VBOX_FAILURE (rc)) { 264 elog ("vboxCallCreate failed flags=%d,%#x rc=%d\n", 265 file->f_flags, params.CreateFlags, rc); 266 kfree (sf_r); 267 return -EPROTO; 263 if (VBOX_FAILURE (rc)) 264 { 265 elog ("vboxCallCreate failed flags=%d,%#x rc=%d\n", 266 file->f_flags, params.CreateFlags, rc); 267 kfree (sf_r); 268 return -EPROTO; 269 } 270 271 /** @todo handle these return codes!! */ 272 switch (pCreateParms->Result) 273 { 274 case SHFL_PATH_NOT_FOUND: 275 break; 276 case SHFL_FILE_NOT_FOUND: 277 break; 278 case SHFL_FILE_EXISTS: 279 break; 280 case SHFL_FILE_REPLACED: 281 break; 282 case SHFL_FILE_CREATED: 283 break; 268 284 } 269 285
Note:
See TracChangeset
for help on using the changeset viewer.