From 2cafc36d9c007e9685ce37d9a2ec640a5f3b97af Mon Sep 17 00:00:00 2001 From: Itamar Date: Mon, 4 May 2020 11:41:31 +0300 Subject: [PATCH] LibC: Remove ASSERT_NOT_REACHED in getrusage The gcc port was hitting that assertion for some reason. This patch fixes it. --- Libraries/LibC/ulimit.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Libraries/LibC/ulimit.cpp b/Libraries/LibC/ulimit.cpp index 26602c89c64..cf7bdc9fb90 100644 --- a/Libraries/LibC/ulimit.cpp +++ b/Libraries/LibC/ulimit.cpp @@ -25,8 +25,8 @@ */ #include -#include #include +#include extern "C" { @@ -38,12 +38,10 @@ long ulimit(int cmd, long newlimit) return -1; } -int getrusage(int who, struct rusage *usage) +int getrusage(int who, struct rusage* usage) { (void)who; (void)usage; - ASSERT_NOT_REACHED(); return -1; } - }