diff options
Diffstat (limited to 'tun/wintun/memmod/memmod_windows_64.go')
-rw-r--r-- | tun/wintun/memmod/memmod_windows_64.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/memmod/memmod_windows_64.go b/tun/wintun/memmod/memmod_windows_64.go index 46ac677..a66418f 100644 --- a/tun/wintun/memmod/memmod_windows_64.go +++ b/tun/wintun/memmod/memmod_windows_64.go @@ -29,7 +29,7 @@ func (module *Module) check4GBBoundaries(alignedImageSize uintptr) (err error) { windows.MEM_RESERVE|windows.MEM_COMMIT, windows.PAGE_READWRITE) if err != nil { - return fmt.Errorf("Error allocating memory block: %v", err) + return fmt.Errorf("Error allocating memory block: %w", err) } } return |