1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 08:16:36 +00:00

Update comment for licensing

This commit is contained in:
aneesh-n 2024-05-17 14:19:05 -06:00
parent 5cff6e084e
commit 9d1b23964d
No known key found for this signature in database
GPG key ID: 6F5A52831C046F44

View file

@ -346,7 +346,7 @@ func getPrivilegeName(luid uint64) string {
return string(utf16.Decode(displayNameBuffer[:displayBufSize])) return string(utf16.Decode(displayNameBuffer[:displayBufSize]))
} }
// The functions below are copied over from https://github.com/microsoft/go-winio/blob/main/zsyscall_windows.go // The functions below are copied over from https://github.com/microsoft/go-winio/blob/main/zsyscall_windows.go under MIT license.
// This windows api always returns an error even in case of success, warnings (partial success) and error cases. // This windows api always returns an error even in case of success, warnings (partial success) and error cases.
// //
@ -424,7 +424,7 @@ func _lookupPrivilegeValue(systemName *uint16, name *uint16, luid *uint64) (err
return return
} }
// The code below was copied from https://github.com/microsoft/go-winio/blob/main/tools/mkwinsyscall/mkwinsyscall.go // The code below was copied from https://github.com/microsoft/go-winio/blob/main/tools/mkwinsyscall/mkwinsyscall.go under MIT license.
// errnoErr returns common boxed Errno values, to prevent // errnoErr returns common boxed Errno values, to prevent
// allocations at runtime. // allocations at runtime.