This commit is contained in:
L11R
2019-08-18 20:15:40 +03:00
parent f14f104bea
commit 2748fbd1e5
+1 -1
View File
@@ -8,7 +8,7 @@ import (
)
func Set() (err error) {
rLimit := unix.RLimit{}
rLimit := unix.Rlimit{}
err = unix.Getrlimit(unix.RLIMIT_NOFILE, &rLimit)
if err != nil {
err = errors.Annotate(err, "Cannot get rlimit")