From 97f03ee82203dd628cc0730eb74faa6a6cdc8e2f Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 10 Feb 2019 15:50:11 +0100 Subject: some more go vet fixes --- cmd/dolmetschctl/dolmetschctl.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd') 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) } -- cgit v1.2.3