diff options
-rw-r--r-- | cmd/dolmetschctl/dolmetschctl.go | 6 |
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) } |