aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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