儲存庫 vbox 的更動 58717
- 時間撮記:
- 2015-11-17 上午09:11:03 (9 年 以前)
- svn:sync-xref-src-repo-rev:
- 104145
- 位置:
- trunk/src/VBox/Additions
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp
r58182 r58717 342 342 strcpy(mntinf.nls_name, "\0"); 343 343 344 int r = mount( NULL,344 int r = mount(pszShareName, 345 345 pszMountPoint, 346 346 "vboxsf", … … 403 403 strcpy(mntinf.name, pszMountPoint + cchCWD); 404 404 } 405 r = mount( NULL, pszMountPoint, "vboxsf", fFlags, &mntinf);405 r = mount(mntinf.name, pszMountPoint, "vboxsf", fFlags, &mntinf); 406 406 } 407 407 if (errno == EPROTO) … … 417 417 mntinf_old.gid = mntinf.gid; 418 418 mntinf_old.ttl = mntinf.ttl; 419 r = mount( NULL, pszMountPoint, "vboxsf", fFlags, &mntinf_old);419 r = mount(mntinf_old.name, pszMountPoint, "vboxsf", fFlags, &mntinf_old); 420 420 } 421 421 if (r == -1) /* Was there some error from one of the tries above? */ -
trunk/src/VBox/Additions/linux/sharedfolders/mount.vboxsf.c
r58143 r58717 483 483 * to keep this code here slick without having VbglR3. 484 484 */ 485 err = mount( NULL, mount_point, "vboxsf", flags, &mntinf);485 err = mount(host_name, mount_point, "vboxsf", flags, &mntinf); 486 486 if (err == -1 && errno == EPROTO) 487 487 { … … 500 500 strcpy(mntinf.name, host_name + cchCWD); 501 501 } 502 err = mount( NULL, mount_point, "vboxsf", flags, &mntinf);502 err = mount(host_name, mount_point, "vboxsf", flags, &mntinf); 503 503 } 504 504 if (err == -1 && errno == EPROTO) … … 512 512 mntinf_old.gid = mntinf.gid; 513 513 mntinf_old.ttl = mntinf.ttl; 514 err = mount( NULL, mount_point, "vboxsf", flags, &mntinf_old);514 err = mount(host_name, mount_point, "vboxsf", flags, &mntinf_old); 515 515 } 516 516 if (err)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器