Parcourir la source

Spell getrlimit correctly.

Fixes bug in b0c1c700114aa8d4dfc180d85870c5bbe15fcacb; bug
12229. Bugfix not in any released Tor.  Patch from "alphawolf".
Nick Mathewson il y a 10 ans
Parent
commit
307aa7eb43
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/common/sandbox.c

+ 1 - 1
src/common/sandbox.c

@@ -135,7 +135,7 @@ static int filter_nopar_gen[] = {
 #ifdef __NR_getgid32
     SCMP_SYS(getgid32),
 #endif
-#ifdef __NR_getrlimt
+#ifdef __NR_getrlimit
     SCMP_SYS(getrlimit),
 #endif
     SCMP_SYS(gettimeofday),