diff options
author | Simon Rozman <simon@rozman.si> | 2019-05-10 17:37:03 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-10 18:09:20 +0200 |
commit | 1c92b48415e7f68cce859b4adf95c5d1ce5df9e9 (patch) | |
tree | c368beaf4702a22840851e8a34fe54a9151e0e91 /tun/wintun/registry/registry_windows_test.go | |
parent | c267965bf888de5abc66cc37b7ea61de12cbfc62 (diff) |
wintun: registry: replace REG_NOTIFY with NOTIFY
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'tun/wintun/registry/registry_windows_test.go')
-rw-r--r-- | tun/wintun/registry/registry_windows_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/registry/registry_windows_test.go b/tun/wintun/registry/registry_windows_test.go index c5a6e28..c56b51b 100644 --- a/tun/wintun/registry/registry_windows_test.go +++ b/tun/wintun/registry/registry_windows_test.go @@ -66,7 +66,7 @@ func Test_GetValueWait(t *testing.T) { key.Close() }() - key, err := OpenKeyWait(keyRoot, path, registry.QUERY_VALUE|KEY_NOTIFY, time.Second*2) + key, err := OpenKeyWait(keyRoot, path, registry.QUERY_VALUE|registry.NOTIFY, time.Second*2) if err != nil { t.Errorf("Error waiting for registry key: %v", err) } |