summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-02-10 15:50:11 +0100
committerChristian Pointner <equinox@spreadspace.org>2019-02-10 15:50:11 +0100
commit97f03ee82203dd628cc0730eb74faa6a6cdc8e2f (patch)
tree9bed3d1553078bd2b1f7b938c959400d350bb368 /cmd
parentfix go vet errors (diff)
some more go vet fixes
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dolmetschctl/dolmetschctl.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/dolmetschctl/dolmetschctl.go b/cmd/dolmetschctl/dolmetschctl.go
index 2f7218e..fe79332 100644
--- a/cmd/dolmetschctl/dolmetschctl.go
+++ b/cmd/dolmetschctl/dolmetschctl.go
@@ -32,15 +32,15 @@ import (
func main() {
log.Println("hello world.")
- c, err := controller.NewController(controller.Config{"dolmetsch controller"})
+ c, err := controller.NewController(controller.Config{Dev: "dolmetsch controller"})
if err != nil {
- log.Println("Error opening the controller: %v", err)
+ log.Printf("Error opening the controller: %v", err)
os.Exit(1)
}
defer c.Shutdown()
if err = c.Init(); err != nil {
- log.Println("Error initializeing the controller: %v", err)
+ log.Printf("Error initializeing the controller: %v", err)
os.Exit(1)
}