mirror of
https://github.com/restic/restic.git
synced 2025-10-09 13:12:16 +00:00
Merge pull request #5032 from dropbigfish/master
chore: fix some function name comments
This commit is contained in:
@@ -156,7 +156,7 @@ func enableBackupPrivilege() {
|
||||
}
|
||||
}
|
||||
|
||||
// enableBackupPrivilege enables privilege for restoring security descriptors
|
||||
// enableRestorePrivilege enables privilege for restoring security descriptors
|
||||
func enableRestorePrivilege() {
|
||||
err := enableProcessPrivileges([]string{seRestorePrivilege, seSecurityPrivilege, seTakeOwnershipPrivilege})
|
||||
if err != nil {
|
||||
|
@@ -785,7 +785,7 @@ func (p *VssSnapshot) GetSnapshotDeviceObject() string {
|
||||
return p.snapshotDeviceObject
|
||||
}
|
||||
|
||||
// initializeCOMInterface initialize an instance of the VSS COM api
|
||||
// initializeVssCOMInterface initialize an instance of the VSS COM api
|
||||
func initializeVssCOMInterface() (*ole.IUnknown, error) {
|
||||
vssInstance, err := loadIVssBackupComponentsConstructor()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user