summaryrefslogtreecommitdiff
path: root/cryptfs
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-01-22 21:42:58 +0100
committerJakob Unterwurzacher2016-01-22 21:42:58 +0100
commit9f9cf882ad9bbd298a3417e5e2b0de44cb30f4cb (patch)
treecb94d207d7ea1d1b0134a7c4e41fc719276f8a72 /cryptfs
parentdf41183e9b86ffd152203f4addfb649319b2cb6e (diff)
Add missing import for Go 1.4
Diffstat (limited to 'cryptfs')
-rw-r--r--cryptfs/log_go1.4.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cryptfs/log_go1.4.go b/cryptfs/log_go1.4.go
index 6bc6457..4b91bad 100644
--- a/cryptfs/log_go1.4.go
+++ b/cryptfs/log_go1.4.go
@@ -3,6 +3,10 @@
package cryptfs
+import (
+ "log/syslog"
+)
+
func (l *toggledLogger) SwitchToSyslog(p syslog.Priority) {
Debug.Printf("Cannot switch to syslog - need Go 1.5 or higher")
}