mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
fix-missing-parameters-20040403
Fix missing username parameter in calls to Mount Drives
This commit is contained in:
parent
ce17273242
commit
9a7b375bcf
@ -624,7 +624,7 @@ BOOL ActivateDriveMap (TCHAR chDrive, LPTSTR pszMapping, LPTSTR pszSubmountReq,
|
||||
}
|
||||
|
||||
// We now have a submount name and drive letter--map the network drive.
|
||||
DWORD rc=MountDOSDrive(chDrive,szSubmount,fPersistent);
|
||||
DWORD rc=MountDOSDrive(chDrive,szSubmount,fPersistent,NULL);
|
||||
if (rc == NO_ERROR)
|
||||
return TRUE;
|
||||
|
||||
@ -1158,7 +1158,7 @@ BOOL GlobalMountDrive()
|
||||
break;
|
||||
}
|
||||
}
|
||||
dwResult=MountDOSDrive(*szDriveToMapTo,(const char *)szSubMount,FALSE);
|
||||
dwResult=MountDOSDrive(*szDriveToMapTo,(const char *)szSubMount,FALSE,NULL);
|
||||
}
|
||||
RegCloseKey(hKey);
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user