aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/errors.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-20 02:18:05 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-21 03:24:11 -0600
commit076bce8727d3f02cc3cbf6cdfb560a758185aaf3 (patch)
tree036751633485acaa313a5b4c758d06f276202e7f /service/errors.go
parentconf: expose configuration root directory (diff)
downloadwireguard-windows-076bce8727d3f02cc3cbf6cdfb560a758185aaf3.tar.xz
wireguard-windows-076bce8727d3f02cc3cbf6cdfb560a758185aaf3.zip
ringlogger: introduce basic file ring logging
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'service/errors.go')
-rw-r--r--service/errors.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/errors.go b/service/errors.go
index fd6bc6ab..02ca33dc 100644
--- a/service/errors.go
+++ b/service/errors.go
@@ -15,7 +15,7 @@ type Error uint32
const (
ErrorSuccess Error = iota
- ErrorEventlogOpen
+ ErrorRingloggerOpen
ErrorLoadConfiguration
ErrorCreateWintun
ErrorDetermineWintunName
@@ -36,8 +36,8 @@ func (e Error) Error() string {
switch e {
case ErrorSuccess:
return "No error."
- case ErrorEventlogOpen:
- return "Unable to open Windows event log."
+ case ErrorRingloggerOpen:
+ return "Unable to open log file."
case ErrorDetermineExecutablePath:
return "Unable to determine path of running executable."
case ErrorLoadConfiguration: