diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-10 17:53:41 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-11 12:07:06 +0200 |
commit | bf66c69bd898b05444dc423284ea030fba4e1a6f (patch) | |
tree | 4192c9cc090db8e8366fb8874e9a08772c6071cd /elevate | |
parent | version: bump (diff) | |
download | wireguard-windows-bf66c69bd898b05444dc423284ea030fba4e1a6f.tar.xz wireguard-windows-bf66c69bd898b05444dc423284ea030fba4e1a6f.zip |
global: format
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'elevate')
-rw-r--r-- | elevate/shellexecute.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elevate/shellexecute.go b/elevate/shellexecute.go index 2ac5581c..d4daa97b 100644 --- a/elevate/shellexecute.go +++ b/elevate/shellexecute.go @@ -121,7 +121,7 @@ func ShellExecute(program string, arguments string, directory string, show int32 if err = windows.CoGetObject( windows.StringToUTF16Ptr("Elevation:Administrator!new:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}"), &windows.BIND_OPTS3{ - CbStruct: uint32(unsafe.Sizeof(windows.BIND_OPTS3{})), + CbStruct: uint32(unsafe.Sizeof(windows.BIND_OPTS3{})), ClassContext: windows.CLSCTX_LOCAL_SERVER, }, &windows.GUID{0x6EDD6D74, 0xC007, 0x4E75, [8]byte{0xB7, 0x6A, 0xE5, 0x74, 0x09, 0x95, 0xE2, 0x4C}}, |