From dd1e6c3b36d4b055af879fc1a0f6febecae35591 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 11 Feb 2017 16:38:23 +0100 Subject: fix: Two minor, silly fixes --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index ec0f55f429..fd74e8b457 100644 --- a/main.go +++ b/main.go @@ -35,7 +35,7 @@ func main() { fmt.Fprintf(os.Stderr, "Could not read credentials: %v\n", err) } - fmt.Println("Requesting challenge from %s as user %s\n", host, username) + fmt.Printf("Requesting challenge from %s as user %s\n", host, username) challenge, err := triggerChallengeResponse(&host, &username, &password) if err != nil || challenge.LogonStatus != 4 { @@ -52,7 +52,7 @@ func main() { os.Exit(1) } - fmt.Printf("Login succeeded, you may now (quickly) authenticate OpenVPN with %d as your password\n", token) + fmt.Printf("Login succeeded, you may now (quickly) authenticate OpenVPN with %s as your password\n", token) } func readCredentials() (string, string, error) { -- cgit 1.4.1