Parcourir la source

Typo fix

tags/1.0^2
L11R il y a 7 ans
Parent
révision
2748fbd1e5
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      rlimit/rlimit.go

+ 1
- 1
rlimit/rlimit.go Voir le fichier

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

Chargement…
Annuler
Enregistrer