diff options
author | happyCoder92 <wiktorg@google.com> | 2023-11-28 14:16:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 14:16:17 +0100 |
commit | d68db32b066785ac10e6706416c9903ba2bd6f8a (patch) | |
tree | 8c532c30362924617970b27085d940db1881a9f9 | |
parent | 23a1b85087fee57642545662e1c413228149b024 (diff) | |
download | nsjail-d68db32b066785ac10e6706416c9903ba2bd6f8a.tar.gz |
Fix deleted brace
-rw-r--r-- | util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -383,7 +383,7 @@ long setrlimit(int res, const struct rlimit64& newlim) { return util::syscall(__NR_prlimit64, 0, res, (uintptr_t)&newlim, (uintptr_t) nullptr); } -long getrlimit(int res, struct rlimit64* curlim) +long getrlimit(int res, struct rlimit64* curlim) { *curlim = {}; return util::syscall(__NR_prlimit64, 0, res, (uintptr_t) nullptr, (uintptr_t)curlim); } |