Explorar o código

RLimit comment typo

Thanks @plouj
Lode Hoste %!s(int64=9) %!d(string=hai) anos
pai
achega
82e033942e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/osutil/rlimit_unix.go

+ 1 - 1
lib/osutil/rlimit_unix.go

@@ -13,7 +13,7 @@ import "syscall"
 // MaximizeOpenFileLimit tries to set the resoure limit RLIMIT_NOFILE (number
 // of open file descriptors) to the max (hard limit), if the current (soft
 // limit) is below the max. Returns the new (though possibly unchanged) limit,
-// or an error if it was could not be changed.
+// or an error if it could not be changed.
 func MaximizeOpenFileLimit() (int, error) {
 	// Get the current limit on number of open files.
 	var lim syscall.Rlimit