From 3fe6d7d071a41674f1b392d54c60ba1fed686c53 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch
Date: Sat, 13 Apr 2019 05:38:58 +0200 Subject: label-tool: cleanup --- label-tool/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'label-tool/main.go') diff --git a/label-tool/main.go b/label-tool/main.go index a51a4c8..1d25b1b 100644 --- a/label-tool/main.go +++ b/label-tool/main.go @@ -217,10 +217,10 @@ func main() { log.Fatalf("usage: %s ADDRESS BDF-FILE\n", os.Args[0]) } - address, bdf_path := os.Args[1], os.Args[2] + address, bdfPath := os.Args[1], os.Args[2] var err error - fi, err := os.Open(bdf_path) + fi, err := os.Open(bdfPath) if err != nil { log.Fatalln(err) } @@ -235,5 +235,5 @@ func main() { log.Println("starting server") http.HandleFunc("/", handle) - log.Fatal(http.ListenAndServe(address, nil)) + log.Fatalln(http.ListenAndServe(address, nil)) } -- cgit v1.2.3-70-g09d2