Explorar el Código

Typo fix

tags/1.0^2
L11R hace 6 años
padre
commit
2748fbd1e5
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      rlimit/rlimit.go

+ 1
- 1
rlimit/rlimit.go Ver fichero

@@ -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…
Cancelar
Guardar