diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-05-25 14:03:05 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-25 14:03:05 -0700 |
commit | f298d732170fb52189d9a4fe571caa8174227639 (patch) | |
tree | 404e945e6e52d220dcd4aaecb8f4c0448641f432 | |
parent | f7bc60603e32d630598eca4663dfd9d03be5802f (diff) | |
parent | ca2ae6cb53caf513804887d3d5b9c63b65a78ca8 (diff) |
Merge pull request #6064 from sudo-sturbia:misspelling
PiperOrigin-RevId: 375789776
-rw-r--r-- | pkg/sentry/kernel/semaphore/semaphore.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/sentry/kernel/semaphore/semaphore.go b/pkg/sentry/kernel/semaphore/semaphore.go index 3c5bd8ff7..1d9edf118 100644 --- a/pkg/sentry/kernel/semaphore/semaphore.go +++ b/pkg/sentry/kernel/semaphore/semaphore.go @@ -35,10 +35,10 @@ const ( // Maximum number of semaphore sets. setsMax = linux.SEMMNI - // Maximum number of semaphroes in a semaphore set. + // Maximum number of semaphores in a semaphore set. semsMax = linux.SEMMSL - // Maximum number of semaphores in all semaphroe sets. + // Maximum number of semaphores in all semaphore sets. semsTotalMax = linux.SEMMNS ) @@ -220,7 +220,7 @@ func (r *Registry) HighestIndex() int32 { defer r.mu.Unlock() // By default, highest used index is 0 even though - // there is no semaphroe set. + // there is no semaphore set. var highestIndex int32 for index := range r.indexes { if index > highestIndex { |