Changeset 10312 in vbox for trunk/src/VBox
- Timestamp:
- Jul 7, 2008 11:35:35 AM (17 years ago)
- Location:
- trunk/src/VBox/Additions/solaris/SharedFolders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/SharedFolders/vboxvfs_mount.c
r10307 r10312 70 70 char *pszSpecial = NULL; 71 71 char *pszMount = NULL; 72 char *pszOptBufCpy = NULL;73 72 char achType[MAXFIDSZ]; 74 73 int c = '?'; … … 144 143 pszMount = argv[argc - 1]; 145 144 146 #if 0147 pszOptBufCpy = strdup(g_achOptBuf);148 if (!pszOptBufCpy)149 {150 fprintf(stderr, "%s: out of memory.\n", pszName);151 return g_RetMagic;152 }153 #endif154 155 145 rc = mount(pszSpecial, pszMount, mntFlags | MS_OPTIONSTR, DEVICE_NAME, NULL, 0, g_achOptBuf, MAX_MNTOPT_STR); 156 146 if (rc) … … 158 148 fprintf(stderr, "mount:"); 159 149 perror(pszSpecial); 160 free(pszOptBufCpy);161 150 return g_RetErr; 162 151 } -
trunk/src/VBox/Additions/solaris/SharedFolders/vboxvfs_vfsops.c
r10307 r10312 72 72 { 73 73 /* Option Name Cancel Opt. Default Arg Flags Data */ 74 { MNTOPT_VBOXVFS_UID, NULL, "0", MO_DEFAULT |MO_HASVALUE, NULL },75 { MNTOPT_VBOXVFS_GID, NULL, "0", MO_DEFAULT |MO_HASVALUE, NULL }74 { MNTOPT_VBOXVFS_UID, NULL, "0", MO_HASVALUE, NULL }, 75 { MNTOPT_VBOXVFS_GID, NULL, "0", MO_HASVALUE, NULL } 76 76 }; 77 77
Note:
See TracChangeset
for help on using the changeset viewer.