Skip to content

Commit

Permalink
Fix deleted brace
Browse files Browse the repository at this point in the history
  • Loading branch information
happyCoder92 committed Nov 28, 2023
1 parent 23a1b85 commit d68db32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d68db32

Please sign in to comment.