summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Lechner2018-02-04 11:38:22 -0800
committerrfjakob2018-02-04 20:38:22 +0100
commitbf2f9640c4b883ecb5c20a75664c8f1f3b09eb31 (patch)
tree197dc5adadd76665084cbe8a800e0f868be94c2e
parent5b986288cf0139a612710de728e82192d1f63fa2 (diff)
Fix spelling (#205)
-rw-r--r--internal/ctlsock/ctlsock_serve.go2
-rw-r--r--main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/ctlsock/ctlsock_serve.go b/internal/ctlsock/ctlsock_serve.go
index 43beeb9..efa72c7 100644
--- a/internal/ctlsock/ctlsock_serve.go
+++ b/internal/ctlsock/ctlsock_serve.go
@@ -117,7 +117,7 @@ func (ch *ctlSockHandler) handleRequest(in *RequestStruct, conn *net.UnixConn) {
var inPath, outPath, clean, warnText string
// You cannot perform both decryption and encryption in one request
if in.DecryptPath != "" && in.EncryptPath != "" {
- err = errors.New("Ambigous")
+ err = errors.New("Ambiguous")
sendResponse(conn, err, "", "")
return
}
diff --git a/main.go b/main.go
index f10adfb..483db6f 100644
--- a/main.go
+++ b/main.go
@@ -141,7 +141,7 @@ func main() {
}
if args.wpanic {
tlog.Warn.Wpanic = true
- tlog.Debug.Printf("Panicing on warnings")
+ tlog.Debug.Printf("Panicking on warnings")
}
// Every operation below requires CIPHERDIR. Exit if we don't have it.
if flagSet.NArg() == 0 {