- Timestamp:
- Sep 23, 2010 6:54:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp
r31355 r32704 41 41 #include "../../linux/sharedfolders/vbsfmount.h" 42 42 RT_C_DECLS_END 43 44 #ifdef RT_OS_SOLARIS 45 # define AUTO_MOUNT_POINT "/mnt/%s%s" 46 #else 47 # define AUTO_MOUNT_POINT "/media/%s%s" 48 #endif 43 49 44 50 /******************************************************************************* … … 283 289 284 290 char *pszMountPoint = NULL; 285 #ifdef RT_OS_SOLARIS 286 if ( RTStrAPrintf(&pszMountPoint, "/mnt/%s%s", pszSharePrefix, pszShareName) > 0 287 #else 288 if ( RTStrAPrintf(&pszMountPoint, "/media/%s%s", pszSharePrefix, pszShareName) > 0 289 #endif 291 if ( RTStrAPrintf(&pszMountPoint, AUTO_MOUNT_POINT, pszSharePrefix, pszShareName) > 0 290 292 && pszMountPoint) 291 293 { … … 327 329 paMappings[i].u32Root, rc); 328 330 } /* for cMappings. */ 329 331 #if 0 330 332 } 331 333 #endif 332 334 RTStrFree(pszSharePrefix); 333 335 } /* Mount prefix. */
Note:
See TracChangeset
for help on using the changeset viewer.