From 82e033942e9e1d37bf5f41b4dffa24db03b396ca Mon Sep 17 00:00:00 2001 From: Lode Hoste Date: Sun, 17 Jan 2016 12:53:56 +0100 Subject: [PATCH] RLimit comment typo Thanks @plouj --- lib/osutil/rlimit_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/osutil/rlimit_unix.go b/lib/osutil/rlimit_unix.go index 85147a8c..a308866c 100644 --- a/lib/osutil/rlimit_unix.go +++ b/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