summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-05-07 12:22:15 +0200
committerJakob Unterwurzacher2017-05-07 12:22:15 +0200
commit68387b470c0d6d2896cc6b927a6e3097389d66ab (patch)
treeb6324c2ce66d615e5683afc68a23361ee4999a58
parentcd10d0a6e4c72a17e59c75ee6557ef8cd3842e3b (diff)
Fix typos found by Misspell
Misspell Finds commonly misspelled English words gocryptfs/internal/configfile/scrypt.go Line 41: warning: "paramter" is a misspelling of "parameter" (misspell) gocryptfs/internal/ctlsock/ctlsock_serve.go Line 1: warning: "implementes" is a misspelling of "implements" (misspell) gocryptfs/tests/test_helpers/helpers.go Line 27: warning: "compatability" is a misspelling of "compatibility" (misspell)
-rw-r--r--internal/configfile/scrypt.go2
-rw-r--r--internal/ctlsock/ctlsock_serve.go2
-rw-r--r--internal/exitcodes/exitcodes.go2
-rw-r--r--tests/test_helpers/helpers.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/internal/configfile/scrypt.go b/internal/configfile/scrypt.go
index e1fbf15..0646754 100644
--- a/internal/configfile/scrypt.go
+++ b/internal/configfile/scrypt.go
@@ -38,7 +38,7 @@ type ScryptKDF struct {
N int
// R: scrypt block size parameter
R int
- // P: scrypt parallization paramter
+ // P: scrypt parallelization parameter
P int
// KeyLen is the output data length
KeyLen int
diff --git a/internal/ctlsock/ctlsock_serve.go b/internal/ctlsock/ctlsock_serve.go
index d09f981..43beeb9 100644
--- a/internal/ctlsock/ctlsock_serve.go
+++ b/internal/ctlsock/ctlsock_serve.go
@@ -1,4 +1,4 @@
-// Package ctlsock implementes the control socket interface that can be
+// Package ctlsock implements the control socket interface that can be
// activated by passing "-ctlsock" on the command line.
package ctlsock
diff --git a/internal/exitcodes/exitcodes.go b/internal/exitcodes/exitcodes.go
index ae00118..2ec3ae6 100644
--- a/internal/exitcodes/exitcodes.go
+++ b/internal/exitcodes/exitcodes.go
@@ -16,7 +16,7 @@ const (
// ported over here.
)
-// Err wraps and error with an associated numeric exit code
+// Err wraps an error with an associated numeric exit code
type Err struct {
error
code int
diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go
index 6b7f6b4..299067a 100644
--- a/tests/test_helpers/helpers.go
+++ b/tests/test_helpers/helpers.go
@@ -24,7 +24,7 @@ const testParentDir = "/tmp/gocryptfs-test-parent"
// GocryptfsBinary is the assumed path to the gocryptfs build.
const GocryptfsBinary = "../../gocryptfs"
-// UnmountScript is the fusermount/umount compatability wrapper script
+// UnmountScript is the fusermount/umount compatibility wrapper script
const UnmountScript = "../fuse-unmount.bash"
// TmpDir is a unique temporary directory. "go test" runs package tests in parallel. We create a