L11R пре 6 година
родитељ
комит
2748fbd1e5
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      rlimit/rlimit.go

+ 1
- 1
rlimit/rlimit.go Прегледај датотеку

@@ -8,7 +8,7 @@ import (
8 8
 )
9 9
 
10 10
 func Set() (err error) {
11
-	rLimit := unix.RLimit{}
11
+	rLimit := unix.Rlimit{}
12 12
 	err = unix.Getrlimit(unix.RLIMIT_NOFILE, &rLimit)
13 13
 	if err != nil {
14 14
 		err = errors.Annotate(err, "Cannot get rlimit")

Loading…
Откажи
Сачувај