mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:34:02 +03:00
Typo fix
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func Set() (err error) {
|
func Set() (err error) {
|
||||||
rLimit := unix.RLimit{}
|
rLimit := unix.Rlimit{}
|
||||||
err = unix.Getrlimit(unix.RLIMIT_NOFILE, &rLimit)
|
err = unix.Getrlimit(unix.RLIMIT_NOFILE, &rLimit)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
err = errors.Annotate(err, "Cannot get rlimit")
|
err = errors.Annotate(err, "Cannot get rlimit")
|
||||||
|
|||||||
Reference in New Issue
Block a user