Przeglądaj źródła

Typo fix

tags/1.0^2
L11R 7 lat temu
rodzic
commit
2748fbd1e5
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      rlimit/rlimit.go

+ 1
- 1
rlimit/rlimit.go Wyświetl plik

@@ -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")

Ładowanie…
Anuluj
Zapisz