about summary refs log tree commit diff
path: root/main.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-02-11T15·38+0100
committerVincent Ambo <tazjin@gmail.com>2017-02-11T15·38+0100
commitdd1e6c3b36d4b055af879fc1a0f6febecae35591 (patch)
tree19fbfa684842005aecbba43a8a5076c7fd2520df /main.go
parente4ee5a452622de946e4b9a62aeedb6eb3a6851dd (diff)
fix: Two minor, silly fixes
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index ec0f55f429ee..fd74e8b457fe 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) {