瀏覽代碼

Typo fix

tags/1.0^2
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…
取消
儲存